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 <1320868020.18.0.682296818506.issue6397@psf.upfronthosting.co.za>
Content
> That was thorough :-) Seems OK though.
> 
> +    if (n < size) {
> +        PyErr_SetString(PyExc_IOError, "failed to write all pollfds. "
> +                "Please, report in http://bugs.python.org/");
> 
> 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.
History
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