filedescriptor out of range in select()

Paolo Invernizzi paoloinvernizzi at dmsware.com
Thu Jun 26 08:26:27 EDT 2003


Fredrik Lundh wrote:

> the number of files supported by an actual system doesn't necessarily
> have to match the value of a include-file constant on the build machine...

Umm...

Python was installed via FreeBSD port system, so was built on this 
machine...

> but I'm pretty sure asyncore supports the "poll" interface.  try changing
> the asyncore.loop call in Dibbler.py to:
> 
>     asyncore.loop(map=context._map, use_poll=1)
> 
> and see what happens.

Ok.

Thanks for the advice

---
Paolo







More information about the Python-list mailing list