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 | a677d7628b7a0f57c49069bf82306819b68775ae (patch) | |
tree | 10a80aa33f2f3296d00040513e755c0de4e037fe /Modules/socketmodule.c | |
parent | 9cb33b7d0318e739024eb4adf5e7e2c26feaabaf (diff) | |
download | cpython-a677d7628b7a0f57c49069bf82306819b68775ae.zip cpython-a677d7628b7a0f57c49069bf82306819b68775ae.tar.gz cpython-a677d7628b7a0f57c49069bf82306819b68775ae.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 e371815..8c8b08e 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -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); |