[Twisted-Python] poll reactor question

Christopher Zorn christopher.zorn at gmail.com
Sun Jan 14 15:47:32 EST 2007


On 1/14/07, James Y Knight <foom at fuhm.net> wrote:
>
> 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?

I was thinking it may be a python problem. It is Debian Sarge and
Python 2.3.5 (#2, Oct 16 2006, 19:19:48) is the exact version or
python.



>
> James
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>




More information about the Twisted-Python mailing list