Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-08 Thread Glyph Lefkowitz
On Nov 7, 2011, at 10:20 AM, Tobias Oberstein wrote: > Ok, I've prepared > > http://twistedmatrix.com/trac/attachment/ticket/1918/kqueue.patch > > which passes all tests (FreeBSD 8.3 p3 i386 / Python 2.7.1) but the ones > related to open FDs (which are unrelated to the reactor stuff). > >

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-07 Thread Tobias Oberstein
ftrag von Glyph Lefkowitz Gesendet: Sonntag, 6. November 2011 22:13 An: Twisted general discussion Betreff: Re: [Twisted-Python] kqueue reactor / ticket #1918 On Nov 5, 2011, at 1:46 PM, Tobias Oberstein wrote: Then, baseline. I've run the trial using select reactor in the expectation of finding all

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-06 Thread Glyph Lefkowitz
On Nov 5, 2011, at 1:46 PM, Tobias Oberstein wrote: >>> Then, baseline. I've run the trial using select reactor in the >>> expectation of finding all tests passed. >>> >>> This is not the case, there are a couple of failed ones. Those are >>> also failed with the kqueue reactor, so I need to kno

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-05 Thread Tobias Oberstein
> > Then, baseline. I've run the trial using select reactor in the > > expectation of finding all tests passed. > > > > This is not the case, there are a couple of failed ones. Those are > > also failed with the kqueue reactor, so I need to know whether I need > > to inspect those or those are prob

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-05 Thread Itamar Turner-Trauring
On Sat, 2011-11-05 at 04:48 -0700, Tobias Oberstein wrote: > Then, whats the difference between FAIL and ERROR? Fail means an assertion failed. Error means an unexpected exception was throwhn. > Then, there are a couple of tests which are skipped because > > xxx_KQueueReactor > No module named k

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-05 Thread Tobias Oberstein
> We've said e.g. Windows only supports Python 2.5 or later even when > everything else supports Python 2.4. And we have inlineCallbacks which only > runs on Python 2.5 or later. Saying "kqueue reactor only works on Python 2.6 > and later" seems fine to me. For completeness: there seem to be 2 pac

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-05 Thread Tobias Oberstein
> > if there is anything I can do to clarify (like i.e. running on > > non-virtualized > hardware FreeBSD) let me know. > > Have you run the tests on OS X as well? I'll do that. > > Caveat: as attached to the ticket, there are some errs when running > > trial which don't happen with select reac

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-04 Thread Glyph
On Nov 4, 2011, at 1:11 PM, Tobias Oberstein wrote: >>> This is awesome, BUT... >>> >>> ...would probably have to be distributed outside of Twisted proper (at >>> least for the moment), as Twisted supports versions of Python < 2.6, >>> where select.kqueue would not exist. >>> >>> (Maybe this is

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-04 Thread Tobias Oberstein
> >This is awesome, BUT... > > > >...would probably have to be distributed outside of Twisted proper (at > >least for the moment), as Twisted supports versions of Python < 2.6, > >where select.kqueue would not exist. > > > >(Maybe this is your plan, but I'm just pointing it out.) > > It would be f

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-04 Thread exarkun
On 04:49 pm, kevin.h...@gmail.com wrote: >On Fri, Nov 4, 2011 at 9:11 AM, Tobias Oberstein < >tobias.oberst...@tavendo.de> wrote: >> > Is there even a kqueue-based Twisted reactor? >> > >> > Yes... ish. More detail here: < >>http://twistedmatrix.com/trac/ticket/1918>. >> >>Hi Glyph, >> >>first, th

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-04 Thread Itamar Turner-Trauring
> This is awesome, BUT... > > ...would probably have to be distributed outside of Twisted proper (at > least for the moment), as Twisted supports versions of Python < 2.6, where > select.kqueue would not exist. > > (Maybe this is your plan, but I'm just pointing it out.) We've said e.g. Windows on

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-04 Thread Kevin Horn
On Fri, Nov 4, 2011 at 9:11 AM, Tobias Oberstein < tobias.oberst...@tavendo.de> wrote: > > Is there even a kqueue-based Twisted reactor? > > > > Yes... ish. More detail here: < > http://twistedmatrix.com/trac/ticket/1918>. > > Hi Glyph, > > first, thanks as always! > > The pykqueue 1.3 and 2.0 re

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-04 Thread Tobias Oberstein
> >Is there any regression/test/stresstest I could run to verify the stuff > >actually works? > > You can run the Twisted test suite: > > trial --reactor kqueue twisted > > (assuming you've hooked up the name "kqueue" to your new version of the > kqueue reactor). > > This is what needs to w

Re: [Twisted-Python] kqueue reactor / ticket #1918

2011-11-04 Thread exarkun
On 02:11 pm, tobias.oberst...@tavendo.de wrote: Is there even a kqueue-based Twisted reactor? Yes... ish.  More detail here: . Hi Glyph, first, thanks as always! The pykqueue 1.3 and 2.0 referenced in that ticket seem to be no longer maintained. O

[Twisted-Python] kqueue reactor / ticket #1918

2011-11-04 Thread Tobias Oberstein
> Is there even a kqueue-based Twisted reactor? > > Yes... ish.  More detail here: . Hi Glyph, first, thanks as always! The pykqueue 1.3 and 2.0 referenced in that ticket seem to be no longer maintained. On the other hand, Python has built-in support

Re: [Twisted-Python] kqueue reactor

2010-09-16 Thread Glyph Lefkowitz
On Sep 14, 2010, at 1:48 PM, ruslan usifov wrote: > Which kqueue reactor in twisted is best? > > Twisted have kqreactor - but it need PyKQueue patched version, and PyKQueue > doesn't supported > Also i found > https://trac.calendarserver.org/browser/CalendarServer/branches/users/glyph/use-sys

[Twisted-Python] kqueue reactor

2010-09-14 Thread ruslan usifov
Which kqueue reactor in twisted is best? Twisted have kqreactor - but it need PyKQueue patched version, and PyKQueue doesn't supported Also i found https://trac.calendarserver.org/browser/CalendarServer/branches/users/glyph/use-system-twisted/kqreactor.py, but doesn't known is it possible use in