Commit a6add69a authored by Gregory P. Smith's avatar Gregory P. Smith

backport r62271 from trunk.

remove the now obsoleted assertion.
parent 14acde30
......@@ -53,7 +53,6 @@ PyObject *
PyString_FromStringAndSize(const char *str, Py_ssize_t size)
{
register PyStringObject *op;
assert(size >= 0);
if (size < 0) {
PyErr_SetString(PyExc_SystemError,
"Negative size passed to PyString_FromStringAndSize");
......
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