FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-132732: Fix up pure types in JIT (GH-136050) · python/cpython@ff7b5d4 · GitHub

Repository navigation

Commit ff7b5d4

Browse files
gh-132732: Fix up pure types in JIT (GH-136050)
Fix up pure types in JIT
1 parent 35ecaf9 commit ff7b5d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Python/optimizer_symbols.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ _Py_uop_sym_is_safe_const(JitOptContext *ctx, JitOptRef sym)
212212
PyTypeObject *typ = Py_TYPE(const_val);
213213
return (typ == &PyUnicode_Type) ||
214214
(typ == &PyFloat_Type) ||
215-
(typ == &PyTuple_Type) ||
215+
(typ == &_PyNone_Type) ||
216216
(typ == &PyBool_Type);
217217
}
218218

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL