Skip to content

Commit 8c78369

Browse files
committed
Remove FT_UNIMPLEMENTED
All instance loads are complete!
1 parent e190a0d commit 8c78369

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Python/specialize.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,20 +1114,6 @@ instance_has_key(PyObject *obj, PyObject *name, uint32_t *shared_keys_version)
11141114
return true;
11151115
}
11161116

1117-
#ifdef Py_GIL_DISABLED
1118-
1119-
#define FT_UNIMPLEMENTED() \
1120-
do { \
1121-
SPECIALIZATION_FAIL(LOAD_ATTR, SPEC_FAIL_EXPECTED_ERROR); \
1122-
return -1; \
1123-
} while (0)
1124-
1125-
#else
1126-
1127-
#define FT_UNIMPLEMENTED()
1128-
1129-
#endif
1130-
11311117
static int
11321118
do_specialize_instance_load_attr(PyObject* owner, _Py_CODEUNIT* instr, PyObject* name,
11331119
bool shadow, uint32_t shared_keys_version,
@@ -1313,8 +1299,6 @@ do_specialize_instance_load_attr(PyObject* owner, _Py_CODEUNIT* instr, PyObject*
13131299
return -1;
13141300
}
13151301

1316-
#undef FT_UNIMPLEMENTED
1317-
13181302
static int
13191303
specialize_instance_load_attr(PyObject* owner, _Py_CODEUNIT* instr, PyObject* name)
13201304
{

0 commit comments

Comments
 (0)