Skip to content

Commit 3d00583

Browse files
committed
update
1 parent 321e529 commit 3d00583

3 files changed

Lines changed: 0 additions & 9 deletions

File tree

Misc/NEWS.d/next/Core_and_Builtins/2026-04-11-16-12-17.gh-issue-131798.be8mTq.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

Python/optimizer_bytecodes.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -713,12 +713,8 @@ dummy_func(void) {
713713
op(_IS_NONE, (value -- b)) {
714714
if (sym_is_const(ctx, value)) {
715715
PyObject *value_o = sym_get_const(ctx, value);
716-
assert(value_o != NULL);
717716
b = sym_new_const(ctx, Py_IsNone(value_o) ? Py_True : Py_False);
718717
}
719-
else if (sym_has_type(value)) {
720-
b = sym_new_const(ctx, sym_matches_type(value, &_PyNone_Type) ? Py_True : Py_False);
721-
}
722718
else {
723719
b = sym_new_type(ctx, &PyBool_Type);
724720
}

Python/optimizer_cases.c.h

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

0 commit comments

Comments
 (0)