commit | 9e79889184a3da2aa113b78967d44a2bd13a0fa6 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Jan 14 00:21:49 2014 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Jan 14 00:21:49 2014 -0500 |
tree | 14301849c2856ec2913bddbe2120951c2a47088d | |
parent | 06e486c2d341df95cd8257564b89870679206c91 [diff] |
remove overly strict assertion (closes #20251)
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 @@ &recvlen, &flags)) return NULL; buflen = buf.len; - assert(buf.buf != 0 && buflen > 0); if (recvlen < 0) { PyErr_SetString(PyExc_ValueError,