Kaydet (Commit) 91c77301 authored tarafından Christian Heimes's avatar Christian Heimes

Fixed bug in input() which broke pdb

üst f5192615
......@@ -1340,7 +1340,7 @@ builtin_input(PyObject *self, PyObject *args)
Py_DECREF(stdin_encoding);
return NULL;
}
prompt = PyString_AsString(po);
prompt = PyUnicode_AsString(po);
if (prompt == NULL) {
Py_DECREF(stdin_encoding);
Py_DECREF(po);
......
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