Kaydet (Commit) d6238a76 authored tarafından Serhiy Storchaka's avatar Serhiy Storchaka Kaydeden (comit) GitHub

bpo-25359: Add missed "goto error" after setting an exception. (#3712)

üst cd99e79d
......@@ -941,6 +941,7 @@ _io_TextIOWrapper___init___impl(textio *self, PyObject *buffer,
else {
PyErr_SetString(PyExc_OSError,
"could not determine default encoding");
goto error;
}
/* Check we have been asked for a real text encoding */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment