From 9e79889184a3da2aa113b78967d44a2bd13a0fa6 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Tue, 14 Jan 2014 00:21:49 -0500 Subject: remove overly strict assertion (closes #20251) --- Modules/socketmodule.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 27df333..880f311 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -2732,7 +2732,6 @@ sock_recvfrom_into(PySocketSockObject *s, PyObject *args, PyObject* kwds) &recvlen, &flags)) return NULL; buflen = buf.len; - assert(buf.buf != 0 && buflen > 0); if (recvlen < 0) { PyErr_SetString(PyExc_ValueError, -- cgit v0.12