This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jeffrey.Walton
Recipients Jeffrey.Walton
Date 2014-03-15.19:19:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394911161.92.0.214267244503.issue20937@psf.upfronthosting.co.za>
In-reply-to
Content
This does not look quite right from Modules/sockewtmodule.c.

    /* Fill in an iovec for each item, and save the Py_buffer
       structs to release afterwards. */
    if (nitems > 0 && ((iovs = PyMem_New(struct iovec, nitems)) == NULL ||
                       (bufs = PyMem_New(Py_buffer, nitems)) == NULL)) {
        PyErr_NoMemory();
        goto finally;
    }

    for (; nbufs < nitems; nbufs++) {
        if (!PyArg_Parse(PySequence_Fast_GET_ITEM(fast, nbufs),
                         "w*;recvmsg_into() argument 1 must be an iterable "
                         "of single-segment read-write buffers",
                         &bufs[nbufs]))
            goto finally;
        iovs[nbufs].iov_base = bufs[nbufs].buf;
        iovs[nbufs].iov_len = bufs[nbufs].len;
    }
History
Date User Action Args
2014-03-15 19:19:21Jeffrey.Waltonsetrecipients: + Jeffrey.Walton
2014-03-15 19:19:21Jeffrey.Waltonsetmessageid: <1394911161.92.0.214267244503.issue20937@psf.upfronthosting.co.za>
2014-03-15 19:19:21Jeffrey.Waltonlinkissue20937 messages
2014-03-15 19:19:21Jeffrey.Waltoncreate