diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-01-14 05:21:49 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-01-14 05:21:49 (GMT) |
commit | 9e79889184a3da2aa113b78967d44a2bd13a0fa6 (patch) | |
tree | 14301849c2856ec2913bddbe2120951c2a47088d /Modules/socketmodule.c | |
parent | 06e486c2d341df95cd8257564b89870679206c91 (diff) | |
download | cpython-9e79889184a3da2aa113b78967d44a2bd13a0fa6.zip cpython-9e79889184a3da2aa113b78967d44a2bd13a0fa6.tar.gz cpython-9e79889184a3da2aa113b78967d44a2bd13a0fa6.tar.bz2 |
remove overly strict assertion (closes #20251)
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r-- | Modules/socketmodule.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, |