Commit 8063591d authored by Denis Bilenko's avatar Denis Bilenko

regenerate core.c

parent f678e87a
/* Generated by Cython 0.11.2 on Thu Jul 9 17:34:43 2009 */
/* Generated by Cython 0.11.2 on Mon Jul 13 22:13:43 2009 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
......@@ -2665,11 +2665,11 @@ static PyObject *__pyx_pf_6gevent_4core_init(PyObject *__pyx_self, PyObject *unu
*
* def dispatch(): # <<<<<<<<<<<<<<
* """Dispatch all events on the event queue.
* Returns -1 on error, 0 on success, and 1 if no events are registered.
* Returns 0 on success, and 1 if no events are registered.
*/
static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject *unused); /*proto*/
static char __pyx_doc_6gevent_4core_dispatch[] = "Dispatch all events on the event queue.\n Returns -1 on error, 0 on success, and 1 if no events are registered.\n ";
static char __pyx_doc_6gevent_4core_dispatch[] = "Dispatch all events on the event queue.\n Returns 0 on success, and 1 if no events are registered.\n May raise IOError.\n ";
static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject *unused) {
int __pyx_v_ret;
PyObject *__pyx_r = NULL;
......@@ -2680,7 +2680,7 @@ static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject
__Pyx_SetupRefcountContext("dispatch");
__pyx_self = __pyx_self;
/* "/home/denis/work/gevent/gevent/core.pyx":262
/* "/home/denis/work/gevent/gevent/core.pyx":263
* """
* cdef int ret
* with nogil: # <<<<<<<<<<<<<<
......@@ -2691,7 +2691,7 @@ static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject
Py_UNBLOCK_THREADS
/*try:*/ {
/* "/home/denis/work/gevent/gevent/core.pyx":263
/* "/home/denis/work/gevent/gevent/core.pyx":264
* cdef int ret
* with nogil:
* ret = event_dispatch() # <<<<<<<<<<<<<<
......@@ -2705,7 +2705,7 @@ static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject
}
}
/* "/home/denis/work/gevent/gevent/core.pyx":264
/* "/home/denis/work/gevent/gevent/core.pyx":265
* with nogil:
* ret = event_dispatch()
* if ret < 0: # <<<<<<<<<<<<<<
......@@ -2715,18 +2715,18 @@ static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject
__pyx_t_1 = (__pyx_v_ret < 0);
if (__pyx_t_1) {
/* "/home/denis/work/gevent/gevent/core.pyx":265
/* "/home/denis/work/gevent/gevent/core.pyx":266
* ret = event_dispatch()
* if ret < 0:
* raise IOError(errno, strerror(errno)) # <<<<<<<<<<<<<<
* return ret
*
*/
__pyx_t_2 = PyInt_FromLong(errno); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_2 = PyInt_FromLong(errno); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyBytes_FromString(strerror(errno)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = __Pyx_PyBytes_FromString(strerror(errno)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(((PyObject *)__pyx_t_4));
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_2);
......@@ -2734,17 +2734,17 @@ static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject
__Pyx_GIVEREF(__pyx_t_3);
__pyx_t_2 = 0;
__pyx_t_3 = 0;
__pyx_t_3 = PyObject_Call(__pyx_builtin_IOError, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyObject_Call(__pyx_builtin_IOError, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
__Pyx_Raise(__pyx_t_3, 0, 0);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
goto __pyx_L8;
}
__pyx_L8:;
/* "/home/denis/work/gevent/gevent/core.pyx":266
/* "/home/denis/work/gevent/gevent/core.pyx":267
* if ret < 0:
* raise IOError(errno, strerror(errno))
* return ret # <<<<<<<<<<<<<<
......@@ -2752,7 +2752,7 @@ static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject
* def loop(nonblock=False):
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_3 = PyInt_FromLong(__pyx_v_ret); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyInt_FromLong(__pyx_v_ret); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 267; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__pyx_r = __pyx_t_3;
__pyx_t_3 = 0;
......@@ -2772,16 +2772,16 @@ static PyObject *__pyx_pf_6gevent_4core_dispatch(PyObject *__pyx_self, PyObject
return __pyx_r;
}
/* "/home/denis/work/gevent/gevent/core.pyx":268
/* "/home/denis/work/gevent/gevent/core.pyx":269
* return ret
*
* def loop(nonblock=False): # <<<<<<<<<<<<<<
* """Dispatch all pending events on queue in a single pass.
* Returns -1 on error, 0 on success, and 1 if no events are registered."""
* Returns 0 on success, and 1 if no events are registered.
*/
static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/
static char __pyx_doc_6gevent_4core_loop[] = "Dispatch all pending events on queue in a single pass.\n Returns -1 on error, 0 on success, and 1 if no events are registered.";
static char __pyx_doc_6gevent_4core_loop[] = "Dispatch all pending events on queue in a single pass.\n Returns 0 on success, and 1 if no events are registered.\n May raise IOError.\n ";
static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
PyObject *__pyx_v_nonblock = 0;
int __pyx_v_flags;
......@@ -2811,7 +2811,7 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
}
}
if (unlikely(kw_args > 0)) {
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "loop") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_pyargnames, 0, values, PyTuple_GET_SIZE(__pyx_args), "loop") < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
}
__pyx_v_nonblock = values[0];
} else {
......@@ -2824,14 +2824,14 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
}
goto __pyx_L4_argument_unpacking_done;
__pyx_L5_argtuple_error:;
__Pyx_RaiseArgtupleInvalid("loop", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
__Pyx_RaiseArgtupleInvalid("loop", 0, 0, 1, PyTuple_GET_SIZE(__pyx_args)); {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L3_error;}
__pyx_L3_error:;
__Pyx_AddTraceback("gevent.core.loop");
return NULL;
__pyx_L4_argument_unpacking_done:;
/* "/home/denis/work/gevent/gevent/core.pyx":272
* Returns -1 on error, 0 on success, and 1 if no events are registered."""
/* "/home/denis/work/gevent/gevent/core.pyx":275
* """
* cdef int flags, ret
* flags = EVLOOP_ONCE # <<<<<<<<<<<<<<
* if nonblock:
......@@ -2839,17 +2839,17 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
*/
__pyx_v_flags = EVLOOP_ONCE;
/* "/home/denis/work/gevent/gevent/core.pyx":273
/* "/home/denis/work/gevent/gevent/core.pyx":276
* cdef int flags, ret
* flags = EVLOOP_ONCE
* if nonblock: # <<<<<<<<<<<<<<
* flags = EVLOOP_ONCE|EVLOOP_NONBLOCK
* with nogil:
*/
__pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_nonblock); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 273; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_nonblock); if (unlikely(__pyx_t_1 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 276; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
if (__pyx_t_1) {
/* "/home/denis/work/gevent/gevent/core.pyx":274
/* "/home/denis/work/gevent/gevent/core.pyx":277
* flags = EVLOOP_ONCE
* if nonblock:
* flags = EVLOOP_ONCE|EVLOOP_NONBLOCK # <<<<<<<<<<<<<<
......@@ -2861,7 +2861,7 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
}
__pyx_L6:;
/* "/home/denis/work/gevent/gevent/core.pyx":275
/* "/home/denis/work/gevent/gevent/core.pyx":278
* if nonblock:
* flags = EVLOOP_ONCE|EVLOOP_NONBLOCK
* with nogil: # <<<<<<<<<<<<<<
......@@ -2872,7 +2872,7 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
Py_UNBLOCK_THREADS
/*try:*/ {
/* "/home/denis/work/gevent/gevent/core.pyx":276
/* "/home/denis/work/gevent/gevent/core.pyx":279
* flags = EVLOOP_ONCE|EVLOOP_NONBLOCK
* with nogil:
* ret = event_loop(flags) # <<<<<<<<<<<<<<
......@@ -2886,7 +2886,7 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
}
}
/* "/home/denis/work/gevent/gevent/core.pyx":277
/* "/home/denis/work/gevent/gevent/core.pyx":280
* with nogil:
* ret = event_loop(flags)
* if ret < 0: # <<<<<<<<<<<<<<
......@@ -2896,18 +2896,18 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
__pyx_t_1 = (__pyx_v_ret < 0);
if (__pyx_t_1) {
/* "/home/denis/work/gevent/gevent/core.pyx":278
/* "/home/denis/work/gevent/gevent/core.pyx":281
* ret = event_loop(flags)
* if ret < 0:
* raise IOError(errno, strerror(errno)) # <<<<<<<<<<<<<<
* return ret
*
*/
__pyx_t_2 = PyInt_FromLong(errno); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_2 = PyInt_FromLong(errno); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_2);
__pyx_t_3 = __Pyx_PyBytes_FromString(strerror(errno)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = __Pyx_PyBytes_FromString(strerror(errno)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(((PyObject *)__pyx_t_4));
PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_2);
__Pyx_GIVEREF(__pyx_t_2);
......@@ -2915,17 +2915,17 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
__Pyx_GIVEREF(__pyx_t_3);
__pyx_t_2 = 0;
__pyx_t_3 = 0;
__pyx_t_3 = PyObject_Call(__pyx_builtin_IOError, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyObject_Call(__pyx_builtin_IOError, ((PyObject *)__pyx_t_4), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(((PyObject *)__pyx_t_4)); __pyx_t_4 = 0;
__Pyx_Raise(__pyx_t_3, 0, 0);
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 278; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
{__pyx_filename = __pyx_f[0]; __pyx_lineno = 281; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
goto __pyx_L10;
}
__pyx_L10:;
/* "/home/denis/work/gevent/gevent/core.pyx":279
/* "/home/denis/work/gevent/gevent/core.pyx":282
* if ret < 0:
* raise IOError(errno, strerror(errno))
* return ret # <<<<<<<<<<<<<<
......@@ -2933,7 +2933,7 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
*
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_3 = PyInt_FromLong(__pyx_v_ret); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 279; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyInt_FromLong(__pyx_v_ret); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 282; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__pyx_r = __pyx_t_3;
__pyx_t_3 = 0;
......@@ -2953,7 +2953,7 @@ static PyObject *__pyx_pf_6gevent_4core_loop(PyObject *__pyx_self, PyObject *__p
return __pyx_r;
}
/* "/home/denis/work/gevent/gevent/core.pyx":282
/* "/home/denis/work/gevent/gevent/core.pyx":285
*
*
* def get_version(): # <<<<<<<<<<<<<<
......@@ -2968,7 +2968,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_version(PyObject *__pyx_self, PyObje
__Pyx_SetupRefcountContext("get_version");
__pyx_self = __pyx_self;
/* "/home/denis/work/gevent/gevent/core.pyx":283
/* "/home/denis/work/gevent/gevent/core.pyx":286
*
* def get_version():
* return event_get_version() # <<<<<<<<<<<<<<
......@@ -2976,7 +2976,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_version(PyObject *__pyx_self, PyObje
* def get_method():
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = __Pyx_PyBytes_FromString(event_get_version()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 283; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = __Pyx_PyBytes_FromString(event_get_version()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
......@@ -2994,7 +2994,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_version(PyObject *__pyx_self, PyObje
return __pyx_r;
}
/* "/home/denis/work/gevent/gevent/core.pyx":285
/* "/home/denis/work/gevent/gevent/core.pyx":288
* return event_get_version()
*
* def get_method(): # <<<<<<<<<<<<<<
......@@ -3009,7 +3009,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_method(PyObject *__pyx_self, PyObjec
__Pyx_SetupRefcountContext("get_method");
__pyx_self = __pyx_self;
/* "/home/denis/work/gevent/gevent/core.pyx":286
/* "/home/denis/work/gevent/gevent/core.pyx":289
*
* def get_method():
* return event_get_method() # <<<<<<<<<<<<<<
......@@ -3017,7 +3017,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_method(PyObject *__pyx_self, PyObjec
*
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = __Pyx_PyBytes_FromString(event_get_method()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 286; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = __Pyx_PyBytes_FromString(event_get_method()); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 289; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
......@@ -3035,7 +3035,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_method(PyObject *__pyx_self, PyObjec
return __pyx_r;
}
/* "/home/denis/work/gevent/gevent/core.pyx":296
/* "/home/denis/work/gevent/gevent/core.pyx":299
* # _EVENT_VERSION is available since libevent 1.4.0-beta
*
* def get_header_version(): # <<<<<<<<<<<<<<
......@@ -3050,7 +3050,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_header_version(PyObject *__pyx_self,
__Pyx_SetupRefcountContext("get_header_version");
__pyx_self = __pyx_self;
/* "/home/denis/work/gevent/gevent/core.pyx":297
/* "/home/denis/work/gevent/gevent/core.pyx":300
*
* def get_header_version():
* emit_ifdef() # <<<<<<<<<<<<<<
......@@ -3059,7 +3059,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_header_version(PyObject *__pyx_self,
*/
#if defined(_EVENT_VERSION) //();
/* "/home/denis/work/gevent/gevent/core.pyx":298
/* "/home/denis/work/gevent/gevent/core.pyx":301
* def get_header_version():
* emit_ifdef()
* return _EVENT_VERSION # <<<<<<<<<<<<<<
......@@ -3067,13 +3067,13 @@ static PyObject *__pyx_pf_6gevent_4core_get_header_version(PyObject *__pyx_self,
*
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = __Pyx_PyBytes_FromString(_EVENT_VERSION); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 298; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = __Pyx_PyBytes_FromString(_EVENT_VERSION); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "/home/denis/work/gevent/gevent/core.pyx":299
/* "/home/denis/work/gevent/gevent/core.pyx":302
* emit_ifdef()
* return _EVENT_VERSION
* emit_endif() # <<<<<<<<<<<<<<
......@@ -3094,7 +3094,7 @@ static PyObject *__pyx_pf_6gevent_4core_get_header_version(PyObject *__pyx_self,
return __pyx_r;
}
/* "/home/denis/work/gevent/gevent/core.pyx":306
/* "/home/denis/work/gevent/gevent/core.pyx":309
* # which will work in every version other than 1.4.0-beta
*
* def reinit(): # <<<<<<<<<<<<<<
......@@ -3109,7 +3109,7 @@ static PyObject *__pyx_pf_6gevent_4core_reinit(PyObject *__pyx_self, PyObject *u
__Pyx_SetupRefcountContext("reinit");
__pyx_self = __pyx_self;
/* "/home/denis/work/gevent/gevent/core.pyx":307
/* "/home/denis/work/gevent/gevent/core.pyx":310
*
* def reinit():
* emit_ifdef() # <<<<<<<<<<<<<<
......@@ -3118,7 +3118,7 @@ static PyObject *__pyx_pf_6gevent_4core_reinit(PyObject *__pyx_self, PyObject *u
*/
#if defined(_EVENT_VERSION) //();
/* "/home/denis/work/gevent/gevent/core.pyx":308
/* "/home/denis/work/gevent/gevent/core.pyx":311
* def reinit():
* emit_ifdef()
* return event_reinit(current_base) # <<<<<<<<<<<<<<
......@@ -3126,13 +3126,13 @@ static PyObject *__pyx_pf_6gevent_4core_reinit(PyObject *__pyx_self, PyObject *u
*
*/
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyInt_FromLong(event_reinit(current_base)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 308; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = PyInt_FromLong(event_reinit(current_base)); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 311; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "/home/denis/work/gevent/gevent/core.pyx":309
/* "/home/denis/work/gevent/gevent/core.pyx":312
* emit_ifdef()
* return event_reinit(current_base)
* emit_endif() # <<<<<<<<<<<<<<
......@@ -4104,8 +4104,8 @@ static __Pyx_StringTabEntry __pyx_string_tab[] = {
{0, 0, 0, 0, 0, 0}
};
static int __Pyx_InitCachedBuiltins(void) {
__pyx_builtin_UserWarning = __Pyx_GetName(__pyx_b, __pyx_kp_UserWarning); if (!__pyx_builtin_UserWarning) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_builtin_IOError = __Pyx_GetName(__pyx_b, __pyx_kp_IOError); if (!__pyx_builtin_IOError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 265; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_builtin_UserWarning = __Pyx_GetName(__pyx_b, __pyx_kp_UserWarning); if (!__pyx_builtin_UserWarning) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_builtin_IOError = __Pyx_GetName(__pyx_b, __pyx_kp_IOError); if (!__pyx_builtin_IOError) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 266; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
return 0;
__pyx_L1_error:;
return -1;
......@@ -4339,60 +4339,60 @@ PyMODINIT_FUNC PyInit_core(void)
*/
if (PyObject_SetAttr(__pyx_m, __pyx_kp_EV_PERSIST, __pyx_int_0x10) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 105; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
/* "/home/denis/work/gevent/gevent/core.pyx":268
/* "/home/denis/work/gevent/gevent/core.pyx":269
* return ret
*
* def loop(nonblock=False): # <<<<<<<<<<<<<<
* """Dispatch all pending events on queue in a single pass.
* Returns -1 on error, 0 on success, and 1 if no events are registered."""
* Returns 0 on success, and 1 if no events are registered.
*/
__pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 268; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = __Pyx_PyBool_FromLong(0); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 269; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_1);
__pyx_k_8 = __pyx_t_1;
__pyx_t_1 = 0;
__Pyx_GIVEREF(__pyx_k_8);
/* "/home/denis/work/gevent/gevent/core.pyx":312
/* "/home/denis/work/gevent/gevent/core.pyx":315
*
* # XXX - make sure event queue is always initialized.
* init() # <<<<<<<<<<<<<<
*
* if get_version() != get_header_version() and get_header_version() is not None:
*/
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_init); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_init); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
__pyx_t_1 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 312; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
/* "/home/denis/work/gevent/gevent/core.pyx":314
/* "/home/denis/work/gevent/gevent/core.pyx":317
* init()
*
* if get_version() != get_header_version() and get_header_version() is not None: # <<<<<<<<<<<<<<
* import warnings
* msg = "version mismatch: system libevent version is %r but this gevent is compiled against %r" % (get_version(), get_header_version())
*/
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
__pyx_t_1 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_header_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_header_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
__pyx_t_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
__pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyObject_RichCompare(__pyx_t_1, __pyx_t_2, Py_NE); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely(__pyx_t_4 < 0)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
if (__pyx_t_4) {
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_header_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_header_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
__pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 314; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
__pyx_t_5 = (__pyx_t_3 != Py_None);
......@@ -4403,36 +4403,36 @@ PyMODINIT_FUNC PyInit_core(void)
}
if (__pyx_t_6) {
/* "/home/denis/work/gevent/gevent/core.pyx":315
/* "/home/denis/work/gevent/gevent/core.pyx":318
*
* if get_version() != get_header_version() and get_header_version() is not None:
* import warnings # <<<<<<<<<<<<<<
* msg = "version mismatch: system libevent version is %r but this gevent is compiled against %r" % (get_version(), get_header_version())
* warnings.warn(msg, UserWarning, stacklevel=2)
*/
__pyx_1 = __Pyx_Import(__pyx_kp_warnings, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_Import(__pyx_kp_warnings, 0); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
if (PyObject_SetAttr(__pyx_m, __pyx_kp_warnings, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 315; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
if (PyObject_SetAttr(__pyx_m, __pyx_kp_warnings, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 318; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
/* "/home/denis/work/gevent/gevent/core.pyx":316
/* "/home/denis/work/gevent/gevent/core.pyx":319
* if get_version() != get_header_version() and get_header_version() is not None:
* import warnings
* msg = "version mismatch: system libevent version is %r but this gevent is compiled against %r" % (get_version(), get_header_version()) # <<<<<<<<<<<<<<
* warnings.warn(msg, UserWarning, stacklevel=2)
*
*/
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
__pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_header_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_get_header_version); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
__pyx_t_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_2 = PyObject_Call(__pyx_1, ((PyObject *)__pyx_empty_tuple), NULL); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_t_3);
__Pyx_GIVEREF(__pyx_t_3);
......@@ -4440,26 +4440,26 @@ PyMODINIT_FUNC PyInit_core(void)
__Pyx_GIVEREF(__pyx_t_2);
__pyx_t_3 = 0;
__pyx_t_2 = 0;
__pyx_t_2 = PyNumber_Remainder(__pyx_kp_9, ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_2 = PyNumber_Remainder(__pyx_kp_9, ((PyObject *)__pyx_t_1)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
if (PyObject_SetAttr(__pyx_m, __pyx_kp_msg, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 316; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
if (PyObject_SetAttr(__pyx_m, __pyx_kp_msg, __pyx_t_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 319; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
/* "/home/denis/work/gevent/gevent/core.pyx":317
/* "/home/denis/work/gevent/gevent/core.pyx":320
* import warnings
* msg = "version mismatch: system libevent version is %r but this gevent is compiled against %r" % (get_version(), get_header_version())
* warnings.warn(msg, UserWarning, stacklevel=2) # <<<<<<<<<<<<<<
*
*/
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_warnings); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_warnings); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
__pyx_t_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_warn); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_2 = PyObject_GetAttr(__pyx_1, __pyx_kp_warn); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_1); __pyx_1 = 0;
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_msg); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_kp_msg); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_1);
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_1 = PyTuple_New(2); if (unlikely(!__pyx_t_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(((PyObject *)__pyx_t_1));
PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_1);
__Pyx_GIVEREF(__pyx_1);
......@@ -4467,10 +4467,10 @@ PyMODINIT_FUNC PyInit_core(void)
PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_builtin_UserWarning);
__Pyx_GIVEREF(__pyx_builtin_UserWarning);
__pyx_1 = 0;
__pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_1 = PyDict_New(); if (unlikely(!__pyx_1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(((PyObject *)__pyx_1));
if (PyDict_SetItem(__pyx_1, __pyx_kp_stacklevel, __pyx_int_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_t_1), ((PyObject *)__pyx_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 317; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
if (PyDict_SetItem(__pyx_1, __pyx_kp_stacklevel, __pyx_int_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__pyx_t_3 = PyEval_CallObjectWithKeywords(__pyx_t_2, ((PyObject *)__pyx_t_1), ((PyObject *)__pyx_1)); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 320; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
__Pyx_GOTREF(__pyx_t_3);
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_DECREF(((PyObject *)__pyx_t_1)); __pyx_t_1 = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment