[issue6397] Implementing Solaris "/dev/poll" in the "select" module

Ross Lagerwall report at bugs.python.org
Wed Nov 9 20:47:00 CET 2011


Ross Lagerwall <rosslagerwall at gmail.com> added the comment:

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.

Otherwise, it looks good... although I don't have currently access to a Solaris box to test it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6397>
_______________________________________


More information about the Python-bugs-list mailing list