| | | | |
| Offset 3033, 14 lines modified | Offset 3033, 24 lines modified |
| 3033 | #define·__Pyx_PyNumber_InPlaceAnd_object_object(op1,·op2)··PyNumber_InPlaceAnd(op1,·op2) | 3033 | #define·__Pyx_PyNumber_InPlaceAnd_object_object(op1,·op2)··PyNumber_InPlaceAnd(op1,·op2) |
| 3034 | #else | 3034 | #else |
| 3035 | #define·__Pyx_PyNumber_And_object_object(op1,·op2)··__Pyx__PyNumber_And_object_object(op1,·op2,·0) | 3035 | #define·__Pyx_PyNumber_And_object_object(op1,·op2)··__Pyx__PyNumber_And_object_object(op1,·op2,·0) |
| 3036 | #define·__Pyx_PyNumber_InPlaceAnd_object_object(op1,·op2)··__Pyx__PyNumber_And_object_object(op1,·op2,·1) | 3036 | #define·__Pyx_PyNumber_InPlaceAnd_object_object(op1,·op2)··__Pyx__PyNumber_And_object_object(op1,·op2,·1) |
| 3037 | static·CYTHON_INLINE·PyObject*·__Pyx__PyNumber_And_object_object(PyObject·*op1,·PyObject·*op2,·int·inplace); | 3037 | static·CYTHON_INLINE·PyObject*·__Pyx__PyNumber_And_object_object(PyObject·*op1,·PyObject·*op2,·int·inplace); |
| 3038 | #endif | 3038 | #endif |
| | |
| | 3039 | /*·PyNumberBinop.proto·*/ |
| | 3040 | #if·CYTHON_COMPILING_IN_PYPY·||·CYTHON_COMPILING_IN_GRAAL·||·CYTHON_COMPILING_IN_LIMITED_API |
| | 3041 | #define·__Pyx_PyNumber_Or_object_object(op1,·op2)··PyNumber_Or(op1,·op2) |
| | 3042 | #define·__Pyx_PyNumber_InPlaceOr_object_object(op1,·op2)··PyNumber_InPlaceOr(op1,·op2) |
| | 3043 | #else |
| | 3044 | #define·__Pyx_PyNumber_Or_object_object(op1,·op2)··__Pyx__PyNumber_Or_object_object(op1,·op2,·0) |
| | 3045 | #define·__Pyx_PyNumber_InPlaceOr_object_object(op1,·op2)··__Pyx__PyNumber_Or_object_object(op1,·op2,·1) |
| | 3046 | static·CYTHON_INLINE·PyObject*·__Pyx__PyNumber_Or_object_object(PyObject·*op1,·PyObject·*op2,·int·inplace); |
| | 3047 | #endif |
| | |
| 3039 | /*·py_set_discard.proto·*/ | 3048 | /*·py_set_discard.proto·*/ |
| 3040 | static·CYTHON_INLINE·int·__Pyx_PySet_Discard(PyObject·*set,·PyObject·*key); | 3049 | static·CYTHON_INLINE·int·__Pyx_PySet_Discard(PyObject·*set,·PyObject·*key); |
| | |
| 3041 | /*·UnicodeConcatInPlace.proto·*/ | 3050 | /*·UnicodeConcatInPlace.proto·*/ |
| 3042 | #·if·CYTHON_COMPILING_IN_CPYTHON | 3051 | #·if·CYTHON_COMPILING_IN_CPYTHON |
| 3043 | ····#if·CYTHON_REFNANNY | 3052 | ····#if·CYTHON_REFNANNY |
| 3044 | ········#define·__Pyx_PyUnicode_ConcatInPlace(left,·right,·unsafe_shared)·__Pyx_PyUnicode_ConcatInPlaceImpl(&left,·right,·unsafe_shared,·__pyx_refnanny) | 3053 | ········#define·__Pyx_PyUnicode_ConcatInPlace(left,·right,·unsafe_shared)·__Pyx_PyUnicode_ConcatInPlaceImpl(&left,·right,·unsafe_shared,·__pyx_refnanny) |
| Offset 23482, 15 lines modified | Offset 23492, 15 lines modified |
| 23482 | ··········/*·"Cython/Compiler/FlowControl.py":588 | 23492 | ··········/*·"Cython/Compiler/FlowControl.py":588 |
| 23483 | ·*·················i_state·=·i_state·&·~i_assmts.mask | 23493 | ·*·················i_state·=·i_state·&·~i_assmts.mask |
| 23484 | ·*·················if·stat.is_deletion: | 23494 | ·*·················if·stat.is_deletion: |
| 23485 | ·*·····················i_state·|=·i_assmts.bit·············#·<<<<<<<<<<<<<< | 23495 | ·*·····················i_state·|=·i_assmts.bit·············#·<<<<<<<<<<<<<< |
| 23486 | ·*·················else: | 23496 | ·*·················else: |
| 23487 | ·*·····················i_state·|=·stat.bit | 23497 | ·*·····················i_state·|=·stat.bit |
| 23488 | */ | 23498 | */ |
| 23489 | ··········__pyx_t_12·=·__Pyx_PyNumber_InPlaceOr_int_int(__pyx_v_i_state,·__pyx_v_i_assmts->bit);·if·(unlikely(!__pyx_t_12))·__PYX_ERR(0,·588,·__pyx_L1_error) | 23499 | ··········__pyx_t_12·=·__Pyx_PyNumber_InPlaceOr_object_int(__pyx_v_i_state,·__pyx_v_i_assmts->bit);·if·(unlikely(!__pyx_t_12))·__PYX_ERR(0,·588,·__pyx_L1_error) |
| 23490 | ··········__Pyx_GOTREF(__pyx_t_12); | 23500 | ··········__Pyx_GOTREF(__pyx_t_12); |
| 23491 | ··········__Pyx_DECREF_SET(__pyx_v_i_state,·__pyx_t_12); | 23501 | ··········__Pyx_DECREF_SET(__pyx_v_i_state,·__pyx_t_12); |
| 23492 | ··········__pyx_t_12·=·0; | 23502 | ··········__pyx_t_12·=·0; |
| | |
| 23493 | ··········/*·"Cython/Compiler/FlowControl.py":587 | 23503 | ··········/*·"Cython/Compiler/FlowControl.py":587 |
| 23494 | ·*·················assmt_nodes.add(stat.lhs) | 23504 | ·*·················assmt_nodes.add(stat.lhs) |
| 23495 | ·*·················i_state·=·i_state·&·~i_assmts.mask | 23505 | ·*·················i_state·=·i_state·&·~i_assmts.mask |
| Offset 23507, 15 lines modified | Offset 23517, 15 lines modified |
| 23507 | ·*·····················i_state·|=·stat.bit·············#·<<<<<<<<<<<<<< | 23517 | ·*·····················i_state·|=·stat.bit·············#·<<<<<<<<<<<<<< |
| 23508 | ·*·················assignments.add(stat) | 23518 | ·*·················assignments.add(stat) |
| 23509 | ·*·················if·stat.rhs·is·not·fake_rhs_expr: | 23519 | ·*·················if·stat.rhs·is·not·fake_rhs_expr: |
| 23510 | */ | 23520 | */ |
| 23511 | ········/*else*/·{ | 23521 | ········/*else*/·{ |
| 23512 | ··········__pyx_t_12·=·__Pyx_PyObject_GetAttrStr(__pyx_v_stat,·__pyx_mstate_global->__pyx_n_u_bit);·if·(unlikely(!__pyx_t_12))·__PYX_ERR(0,·590,·__pyx_L1_error) | 23522 | ··········__pyx_t_12·=·__Pyx_PyObject_GetAttrStr(__pyx_v_stat,·__pyx_mstate_global->__pyx_n_u_bit);·if·(unlikely(!__pyx_t_12))·__PYX_ERR(0,·590,·__pyx_L1_error) |
| 23513 | ··········__Pyx_GOTREF(__pyx_t_12); | 23523 | ··········__Pyx_GOTREF(__pyx_t_12); |
| 23514 | ··········__pyx_t_8·=·__Pyx_PyNumber_InPlaceOr_int_object(__pyx_v_i_state,·__pyx_t_12);·if·(unlikely(!__pyx_t_8))·__PYX_ERR(0,·590,·__pyx_L1_error) | 23524 | ··········__pyx_t_8·=·__Pyx_PyNumber_InPlaceOr_object_object(__pyx_v_i_state,·__pyx_t_12);·if·(unlikely(!__pyx_t_8))·__PYX_ERR(0,·590,·__pyx_L1_error) |
| 23515 | ··········__Pyx_GOTREF(__pyx_t_8); | 23525 | ··········__Pyx_GOTREF(__pyx_t_8); |
| 23516 | ··········__Pyx_DECREF(__pyx_t_12);·__pyx_t_12·=·0; | 23526 | ··········__Pyx_DECREF(__pyx_t_12);·__pyx_t_12·=·0; |
| 23517 | ··········__Pyx_DECREF_SET(__pyx_v_i_state,·__pyx_t_8); | 23527 | ··········__Pyx_DECREF_SET(__pyx_v_i_state,·__pyx_t_8); |
| 23518 | ··········__pyx_t_8·=·0; | 23528 | ··········__pyx_t_8·=·0; |
| 23519 | ········} | 23529 | ········} |
| 23520 | ········__pyx_L8:; | 23530 | ········__pyx_L8:; |
| | |
| Offset 56583, 14 lines modified | Offset 56593, 79 lines modified |
| 56583 | ········} | 56593 | ········} |
| 56584 | ········return·__Pyx_PyNumber_And_xint_object(op1,·op2,·inplace); | 56594 | ········return·__Pyx_PyNumber_And_xint_object(op1,·op2,·inplace); |
| 56585 | ····} | 56595 | ····} |
| 56586 | ····return·(inplace)·?·PyNumber_InPlaceAnd(op1,·op2)·:·PyNumber_And(op1,·op2); | 56596 | ····return·(inplace)·?·PyNumber_InPlaceAnd(op1,·op2)·:·PyNumber_And(op1,·op2); |
| 56587 | } | 56597 | } |
| 56588 | #endif | 56598 | #endif |
| | |
| | 56599 | /*·PyNumberBinop·*/ |
| | 56600 | #if·!(CYTHON_COMPILING_IN_PYPY·||·CYTHON_COMPILING_IN_GRAAL·||·CYTHON_COMPILING_IN_LIMITED_API) |
| | 56601 | #if·CYTHON_USE_TYPE_SLOTS·||·__PYX_LIMITED_VERSION_HEX·>=·0x030A0000 |
| | 56602 | #ifndef·__Pyx_DEFINED_BinopTypeError |
| | 56603 | #define·__Pyx_DEFINED_BinopTypeError |
| | 56604 | static·void·__Pyx_BinopTypeError(PyObject·*op1,·PyObject·*op2,·const·char*·op,·int·inplace)·{ |
| | 56605 | ····char·opname[4]·=·{op[0],·op[1],·0,·0}; |
| | 56606 | ····if·(inplace)·{ |
| | 56607 | ········opname[op[1]·?·2·:·1]·=·'='; |
| | 56608 | ····} |
| | 56609 | ····__Pyx_RaiseErrorWithObjectTypes1( |
| | 56610 | ········PyExc_TypeError, |
| | 56611 | ········"unsupported·operand·type(s)·for·%.3s:·'"·__Pyx_FMT_TYPENAME·"'·and·'"·__Pyx_FMT_TYPENAME·"'", |
| | 56612 | ········opname,·op1,·op2); |
| | 56613 | } |
| | 56614 | #endif |
| | 56615 | #endif |
| | 56616 | #ifndef·__Pyx_DEFINED_PyNumber_Or_xint_object |
| | 56617 | #define·__Pyx_DEFINED_PyNumber_Or_xint_object |
| | 56618 | static·PyObject*·__Pyx_PyNumber_Or_xint_object(PyObject·*op1,·PyObject·*op2,·int·inplace)·{ |
| | 56619 | ····#if·CYTHON_USE_TYPE_SLOTS·||·__PYX_LIMITED_VERSION_HEX·>=·0x030A0000 |
| | 56620 | ····{ |
| | 56621 | ········PyTypeObject·*type_op2·=·Py_TYPE(op2); |
| | 56622 | ········binaryfunc·slot_func·=·__Pyx_PyType_GetSubSlot(type_op2,·tp_as_number,·nb_or,·binaryfunc); |
| | 56623 | ········if·(likely(slot_func))·{ |
| | 56624 | ············PyObject·*result·=·slot_func(op1,·op2); |
| | 56625 | ············if·(likely(result·!=·Py_NotImplemented))·{ |
| | 56626 | ················return·result; |
| | 56627 | ············} |
| | 56628 | ············Py_DECREF(result); |
| | 56629 | ········} |
| | 56630 | ········__Pyx_BinopTypeError(op1,·op2,·"|",·inplace); |
| | 56631 | ········return·NULL; |
| | 56632 | ····} |
| | 56633 | ····#else |
| | 56634 | ····return·(inplace)·?·PyNumber_InPlaceOr(op1,·op2)·:·PyNumber_Or(op1,·op2); |
| | 56635 | ····#endif |
| | 56636 | } |
| | 56637 | #endif |
| | 56638 | static·CYTHON_INLINE·PyObject*·__Pyx__PyNumber_Or_object_object(PyObject·*op1,·PyObject·*op2,·int·inplace)·{ |
| | 56639 | ····if·(PyLong_CheckExact(op1))·{ |
| | 56640 | ········if·(PyLong_CheckExact(op2))·{ |
| | 56641 | ············#if·CYTHON_USE_PYLONG_INTERNALS |
| | 56642 | ············if·(__Pyx_PyLong_IsCompact(op1))·{ |
| | 56643 | ················Py_ssize_t·int_op1·=·__Pyx_PyLong_CompactValue(op1); |
| | 56644 | ················if·(int_op1·==·0)·return·__Pyx_NewRef(op2); |
| | 56645 | ················if·(__Pyx_PyLong_IsCompact(op2))·{ |
| | 56646 | ····················Py_ssize_t·int_op2·=·__Pyx_PyLong_CompactValue(op2); |
| | 56647 | ····················if·(int_op2·==·0)·return·__Pyx_NewRef(op1); |
| | 56648 | ····················return·PyLong_FromSsize_t(int_op1·|·int_op2); |
| | 56649 | ················} |
| | 56650 | ············} |
| | 56651 | ············else·if·(__Pyx_PyLong_IsZero(op2))·return·__Pyx_NewRef(op1); |
| | 56652 | ············#endif |
| | 56653 | ············binaryfunc·slot_func·=·__Pyx_PyType_GetSubSlot(&PyLong_Type,·tp_as_number,·nb_or,·binaryfunc); |
| | 56654 | ············if·(likely(slot_func))·{ |
| | 56655 | ················return·slot_func(op1,·op2); |
| | 56656 | ············} |
| | 56657 | ········} |
| | 56658 | ········return·__Pyx_PyNumber_Or_xint_object(op1,·op2,·inplace); |
| | 56659 | ····} |
| | 56660 | ····return·(inplace)·?·PyNumber_InPlaceOr(op1,·op2)·:·PyNumber_Or(op1,·op2); |
| | 56661 | } |
| | 56662 | #endif |
| | |
| 56589 | /*·py_set_discard·*/ | 56663 | /*·py_set_discard·*/ |
| 56590 | static·CYTHON_INLINE·int·__Pyx_PySet_Discard(PyObject·*set,·PyObject·*key)·{ | 56664 | static·CYTHON_INLINE·int·__Pyx_PySet_Discard(PyObject·*set,·PyObject·*key)·{ |
| 56591 | ····int·found·=·PySet_Discard(set,·key); | 56665 | ····int·found·=·PySet_Discard(set,·key); |
| 56592 | ····if·(unlikely(found·<·0))·{ | 56666 | ····if·(unlikely(found·<·0))·{ |
| 56593 | ········found·=·__Pyx_PySet_DiscardUnhashable(set,·key); | 56667 | ········found·=·__Pyx_PySet_DiscardUnhashable(set,·key); |
| 56594 | ····} | 56668 | ····} |
| 56595 | ····return·found; | 56669 | ····return·found; |