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 pitrou
Recipients exarkun, giampaolo.rodola, jcea, neologix, pitrou, rosslagerwall
Date 2011-11-09.20:01:17
SpamBayes Score 0.00016124314
Marked as misclassified No
Message-id <1320868598.3370.2.camel@localhost.localdomain>
In-reply-to <>
> That was thorough :-) Seems OK though.
> +    if (n < size) {
> +        PyErr_SetString(PyExc_IOError, "failed to write all pollfds. "
> +                "Please, report in");
> If n < size, it's not a Python error is it? I would say it's the OS's fault.

No, but it's a Python error if Python wrongly assumes that write() won't
return a partial result. Ideally write() should be retried in a loop
until everything is written out.
Date User Action Args
2011-11-09 20:01:17pitrousetrecipients: + pitrou, jcea, exarkun, giampaolo.rodola, neologix, rosslagerwall
2011-11-09 20:01:17pitroulinkissue6397 messages
2011-11-09 20:01:17pitroucreate