filedescriptor out of range in select()

Paolo Invernizzi paoloinvernizzi at dmsware.com
Mon Jun 30 08:11:51 EDT 2003


Steve Holden wrote:

> I suspect that the "too many open files" is simply a symptom of a deeper
> problem, in that your sockets aren't being correctly closed due to a
> programming error. The asyncore framework will happily continue to run even
> if errors occur in the event-handling routines, cneatly demonstrating the
> dangers of an unlimited "try:/except:".
> 
> There's a clear implication here that a BayesProxy instance isn't running
> its __init__() method, because if it *were* running it the isClosed
> attribute would be defined.

I'll check this today...

> Are you perchance subclassing Bayesproxy and overriding its __init__()
> rather than extending it?


Nono, I'm using the 'plain' pop3proxy.py of spambayes... I'm not 
extending the framework...







More information about the Python-list mailing list