[Twisted-Python] poll reactor question
James Y Knight
foom at fuhm.net
Sun Jan 14 14:58:35 EST 2007
On Jan 14, 2007, at 11:26 AM, Christopher Zorn wrote:
> File "/usr/lib/python2.3/site-packages/twisted/internet/
> pollreactor.py",
> line 141, in doPoll
> for fd, event in l:
> exceptions.OverflowError: long int too large to convert to int
>
>
> I looked in the tickets and could not find this. I am using twisted
> 2.4.0 and as you can see, python 2.3
>
> Does anyone know what this could be? It only happens with this
> reactor.
I don't see how that could possibly happen. poller.poll() (which is
what l was assigned to) returns a standard list instance, so there
should be no long/int conversion going on at all in executing this
'for' statement. However, since it apparently can happen, I don't see
how it could possibly be twisted's fault. It looks more like a Python
bug. What OS/version are you running on, and what's the exact python
version?
James
More information about the Twisted-Python
mailing list