Regenerate C sources using Cython 0.28.4
This commit is contained in:
parent
f77e91cdac
commit
cc35e1fdb2
|
@ -10,6 +10,7 @@ follows `Semantic versioning`_
|
|||
3.12.3
|
||||
------
|
||||
- Fix bug `#198 <https://github.com/ets-labs/python-dependency-injector/issues/198>`_.
|
||||
- Regenerate C sources using Cython 0.28.4.
|
||||
|
||||
3.12.2
|
||||
------
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
cython==0.28.3
|
||||
cython==0.28.4
|
||||
tox
|
||||
unittest2
|
||||
coverage
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Generated by Cython 0.28.3 */
|
||||
/* Generated by Cython 0.28.4 */
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
|
@ -7,7 +7,7 @@
|
|||
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
||||
#error Cython requires Python 2.6+ or Python 3.3+.
|
||||
#else
|
||||
#define CYTHON_ABI "0_28_3"
|
||||
#define CYTHON_ABI "0_28_4"
|
||||
#define CYTHON_FUTURE_DIVISION 0
|
||||
#include <stddef.h>
|
||||
#ifndef offsetof
|
||||
|
@ -12981,7 +12981,7 @@ bad:
|
|||
/* SaveResetException */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
|
||||
#if PY_VERSION_HEX >= 0x030700A2
|
||||
#if PY_VERSION_HEX >= 0x030700A3
|
||||
*type = tstate->exc_state.exc_type;
|
||||
*value = tstate->exc_state.exc_value;
|
||||
*tb = tstate->exc_state.exc_traceback;
|
||||
|
@ -12996,7 +12996,7 @@ static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject *
|
|||
}
|
||||
static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
|
||||
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
||||
#if PY_VERSION_HEX >= 0x030700A2
|
||||
#if PY_VERSION_HEX >= 0x030700A3
|
||||
tmp_type = tstate->exc_state.exc_type;
|
||||
tmp_value = tstate->exc_state.exc_value;
|
||||
tmp_tb = tstate->exc_state.exc_traceback;
|
||||
|
@ -14847,14 +14847,42 @@ static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err,
|
|||
return res;
|
||||
}
|
||||
#endif
|
||||
static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
|
||||
Py_ssize_t i, n;
|
||||
assert(PyExceptionClass_Check(exc_type));
|
||||
n = PyTuple_GET_SIZE(tuple);
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
for (i=0; i<n; i++) {
|
||||
if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1;
|
||||
}
|
||||
#endif
|
||||
for (i=0; i<n; i++) {
|
||||
PyObject *t = PyTuple_GET_ITEM(tuple, i);
|
||||
#if PY_MAJOR_VERSION < 3
|
||||
if (likely(exc_type == t)) return 1;
|
||||
#endif
|
||||
if (likely(PyExceptionClass_Check(t))) {
|
||||
if (__Pyx_inner_PyErr_GivenExceptionMatches2(exc_type, NULL, t)) return 1;
|
||||
} else {
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject* exc_type) {
|
||||
if (likely(err == exc_type)) return 1;
|
||||
if (likely(PyExceptionClass_Check(err))) {
|
||||
return __Pyx_inner_PyErr_GivenExceptionMatches2(err, NULL, exc_type);
|
||||
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);
|
||||
|
@ -14867,7 +14895,7 @@ static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObj
|
|||
#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 PY_VERSION_HEX >= 0x030700A2
|
||||
#if PY_VERSION_HEX >= 0x030700A3
|
||||
tmp_type = tstate->exc_state.exc_type;
|
||||
tmp_value = tstate->exc_state.exc_value;
|
||||
tmp_tb = tstate->exc_state.exc_traceback;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Generated by Cython 0.28.3 */
|
||||
/* Generated by Cython 0.28.4 */
|
||||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
|
@ -7,7 +7,7 @@
|
|||
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
|
||||
#error Cython requires Python 2.6+ or Python 3.3+.
|
||||
#else
|
||||
#define CYTHON_ABI "0_28_3"
|
||||
#define CYTHON_ABI "0_28_4"
|
||||
#define CYTHON_FUTURE_DIVISION 0
|
||||
#include <stddef.h>
|
||||
#ifndef offsetof
|
||||
|
@ -58168,7 +58168,7 @@ bad:
|
|||
/* SaveResetException */
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) {
|
||||
#if PY_VERSION_HEX >= 0x030700A2
|
||||
#if PY_VERSION_HEX >= 0x030700A3
|
||||
*type = tstate->exc_state.exc_type;
|
||||
*value = tstate->exc_state.exc_value;
|
||||
*tb = tstate->exc_state.exc_traceback;
|
||||
|
@ -58183,7 +58183,7 @@ static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject *
|
|||
}
|
||||
static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) {
|
||||
PyObject *tmp_type, *tmp_value, *tmp_tb;
|
||||
#if PY_VERSION_HEX >= 0x030700A2
|
||||
#if PY_VERSION_HEX >= 0x030700A3
|
||||
tmp_type = tstate->exc_state.exc_type;
|
||||
tmp_value = tstate->exc_state.exc_value;
|
||||
tmp_tb = tstate->exc_state.exc_traceback;
|
||||
|
@ -58242,7 +58242,7 @@ static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb)
|
|||
*value = local_value;
|
||||
*tb = local_tb;
|
||||
#if CYTHON_FAST_THREAD_STATE
|
||||
#if PY_VERSION_HEX >= 0x030700A2
|
||||
#if PY_VERSION_HEX >= 0x030700A3
|
||||
tmp_type = tstate->exc_state.exc_type;
|
||||
tmp_value = tstate->exc_state.exc_value;
|
||||
tmp_tb = tstate->exc_state.exc_traceback;
|
||||
|
@ -58777,14 +58777,42 @@ static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err,
|
|||
return res;
|
||||
}
|
||||
#endif
|
||||
static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) {
|
||||
Py_ssize_t i, n;
|
||||
assert(PyExceptionClass_Check(exc_type));
|
||||
n = PyTuple_GET_SIZE(tuple);
|
||||
#if PY_MAJOR_VERSION >= 3
|
||||
for (i=0; i<n; i++) {
|
||||
if (exc_type == PyTuple_GET_ITEM(tuple, i)) return 1;
|
||||
}
|
||||
#endif
|
||||
for (i=0; i<n; i++) {
|
||||
PyObject *t = PyTuple_GET_ITEM(tuple, i);
|
||||
#if PY_MAJOR_VERSION < 3
|
||||
if (likely(exc_type == t)) return 1;
|
||||
#endif
|
||||
if (likely(PyExceptionClass_Check(t))) {
|
||||
if (__Pyx_inner_PyErr_GivenExceptionMatches2(exc_type, NULL, t)) return 1;
|
||||
} else {
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject* exc_type) {
|
||||
if (likely(err == exc_type)) return 1;
|
||||
if (likely(PyExceptionClass_Check(err))) {
|
||||
return __Pyx_inner_PyErr_GivenExceptionMatches2(err, NULL, exc_type);
|
||||
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);
|
||||
|
@ -59011,7 +59039,7 @@ static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr
|
|||
#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 PY_VERSION_HEX >= 0x030700A2
|
||||
#if PY_VERSION_HEX >= 0x030700A3
|
||||
tmp_type = tstate->exc_state.exc_type;
|
||||
tmp_value = tstate->exc_state.exc_value;
|
||||
tmp_tb = tstate->exc_state.exc_traceback;
|
||||
|
|
Loading…
Reference in New Issue