We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bytes
_Py_uop_sym_is_safe_const
1 parent 695ab61 commit 1dce1aaCopy full SHA for 1dce1aa
1 file changed
Python/optimizer_symbols.c
@@ -209,6 +209,7 @@ _Py_uop_sym_is_safe_const(JitOptContext *ctx, JitOptRef sym)
209
PyTypeObject *typ = Py_TYPE(const_val);
210
return (typ == &PyLong_Type) ||
211
(typ == &PyUnicode_Type) ||
212
+ (typ == &PyBytes_Type) ||
213
(typ == &PyFloat_Type) ||
214
(typ == &PyTuple_Type) ||
215
(typ == &PyBool_Type);
0 commit comments