remove overly strict assertion (closes #20251)

This commit is contained in:
Benjamin Peterson 2014-01-14 00:21:49 -05:00
parent 9cb33b7d03
commit a677d7628b
1 changed files with 0 additions and 1 deletions

View File

@ -2924,7 +2924,6 @@ sock_recvfrom_into(PySocketSockObject *s, PyObject *args, PyObject* kwds)
return NULL;
buf = pbuf.buf;
buflen = pbuf.len;
assert(buf != 0 && buflen > 0);
if (recvlen < 0) {
PyBuffer_Release(&pbuf);