Skip to content

Commit f081274

Browse files
committed
remove immortal assertion since isinstance is mortal
1 parent cf6e8ef commit f081274

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

Python/bytecodes.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5368,7 +5368,6 @@ dummy_func(
53685368
(void)null; // Silence compiler warnings about unused variables
53695369
DEAD(null);
53705370
PyStackRef_CLOSE(callable);
5371-
assert(_Py_IsImmortal(PyStackRef_AsPyObjectBorrow(callable)));
53725371
value = PyStackRef_FromPyObjectBorrow(ptr);
53735372
c1 = callable;
53745373
i = instance;

Python/executor_cases.c.h

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)