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.
1 parent bd390ef commit 7476154Copy full SHA for 7476154
Python/compile.c
@@ -4857,7 +4857,7 @@ compiler_joined_str(struct compiler *c, expr_ty e)
4857
Py_ssize_t value_count = asdl_seq_LEN(e->v.JoinedStr.values);
4858
if (value_count > STACK_USE_GUIDELINE) {
4859
_Py_DECLARE_STR(empty, "");
4860
- ADDOP_LOAD_CONST_NEW(c, &_Py_STR(empty));
+ ADDOP_LOAD_CONST_NEW(c, Py_NewRef(&_Py_STR(empty)));
4861
ADDOP_NAME(c, LOAD_METHOD, &_Py_ID(join), names);
4862
ADDOP_I(c, BUILD_LIST, 0);
4863
for (Py_ssize_t i = 0; i < asdl_seq_LEN(e->v.JoinedStr.values); i++) {
0 commit comments