From ab0d35d70dfe0b4c11583f8f735a8cc49b58c58b Mon Sep 17 00:00:00 2001 From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Tue, 19 Apr 2022 23:11:36 +0530 Subject: bpo-46712: share more global strings in deepfreeze (gh-32152) (for gh-90868) --- Modules/_io/textio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Modules/_io/textio.c') diff --git a/Modules/_io/textio.c b/Modules/_io/textio.c index f45a6978738..f1cd6d01da8 100644 --- a/Modules/_io/textio.c +++ b/Modules/_io/textio.c @@ -1959,6 +1959,7 @@ _io_TextIOWrapper_read_impl(textio *self, Py_ssize_t n) if (chunks != NULL) { if (result != NULL && PyList_Append(chunks, result) < 0) goto fail; + _Py_DECLARE_STR(empty, ""); Py_XSETREF(result, PyUnicode_Join(&_Py_STR(empty), chunks)); if (result == NULL) goto fail; -- cgit v1.2.3