File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -672,8 +672,6 @@ PyAPI_FUNC(int) _PyCode_ReturnsOnlyNone(PyCodeObject *);
672672 * compare bytes and str which can raise a BytesWarning exception. */
673673extern PyObject * _PyCode_ConstantKey (PyObject * obj );
674674
675- #define NO_LOC_4 (128 | (PY_CODE_LOCATION_INFO_NONE << 3) | 3)
676-
677675
678676#ifdef __cplusplus
679677}
Original file line number Diff line number Diff line change @@ -3196,6 +3196,12 @@ _Py_GatherStats_GetIter(_PyStackRef iterable)
31963196 * be lifted.
31973197 */
31983198
3199+ #define NO_LOC_4 (128 | (PY_CODE_LOCATION_INFO_NONE << 3) | 3)
3200+
3201+ static const PyBytesObject no_location = {
3202+ PyVarObject_HEAD_INIT (& PyBytes_Type , 1 )
3203+ .ob_sval = { NO_LOC_4 }
3204+ };
31993205
32003206#ifdef Py_GIL_DISABLED
32013207static _PyCodeArray init_cleanup_tlbc = {
@@ -3204,11 +3210,6 @@ static _PyCodeArray init_cleanup_tlbc = {
32043210};
32053211#endif
32063212
3207- static const PyBytesObject no_location = {
3208- PyVarObject_HEAD_INIT (& PyBytes_Type , 1 )
3209- .ob_sval = { NO_LOC_4 }
3210- };
3211-
32123213const struct _PyCode8 _Py_InitCleanup = {
32133214 _PyVarObject_HEAD_INIT (& PyCode_Type , 3 ),
32143215 .co_consts = (PyObject * )& _Py_SINGLETON (tuple_empty ),
You can’t perform that action at this time.
0 commit comments