Backed out changeset: a29b49d57769
This commit is contained in:
parent
0fba9b324f
commit
ef920d6d5e
|
@ -84,8 +84,6 @@ Library
|
||||||
- Issue #16180: Exit pdb if file has syntax error, instead of trapping user
|
- Issue #16180: Exit pdb if file has syntax error, instead of trapping user
|
||||||
in an infinite loop. Patch by Xavier de Gaye.
|
in an infinite loop. Patch by Xavier de Gaye.
|
||||||
|
|
||||||
- Issue #24917: time_strftime() Buffer Over-read. Patch by John Leitch.
|
|
||||||
|
|
||||||
- Issue #21112: Fix regression in unittest.expectedFailure on subclasses.
|
- Issue #21112: Fix regression in unittest.expectedFailure on subclasses.
|
||||||
Patch from Berker Peksag.
|
Patch from Berker Peksag.
|
||||||
|
|
||||||
|
|
|
@ -662,12 +662,6 @@ time_strftime(PyObject *self, PyObject *args)
|
||||||
"format %y requires year >= 1900 on AIX");
|
"format %y requires year >= 1900 on AIX");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
else if (outbuf[1] == '\0')
|
|
||||||
{
|
|
||||||
PyErr_SetString(PyExc_ValueError, "Incomplete format string");
|
|
||||||
Py_DECREF(format);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue