Re: [Twisted-Python] ANNOUNCING Tahoe, the Least-Authority File System, v1.7.0
[resending after the glitch with the domain] On Thu, 24 Jun 2010 18:34 -0700, "Zooko O'Whielacronx" wrote: > On Tue, Jun 22, 2010 at 10:35 AM, Peter Westlake > wrote: > > > > I downloaded it and typed "python setup.py build", and it went off and > > started building a copy of Twisted 10.0! > > That's funny. Could you please run: > > python -c "import pkg_resources;print pkg_resources.require('Twisted')" It says: allmydata-tahoe-1.7.0$ python -c "import pkg_resources;print pkg_resources.require('Twisted')" [Twisted 10.0.0 (/localhome/packages/allmydata-tahoe-1.7.0/Twisted-10.0.0-py2.5-linux-i686.egg), zope.interface 3.4.0 (/usr/lib/python2.5/site-packages)] > > Will that be installed on my system, or will it only affect the Tahoe > > build? > > (Brian Warner answered this.) Yes - thanks to Brian. > > I can't afford to move > > to 10.0 until I've had time to track down a certain bug that appeared > > between 2.5.0 and version 8. > > Do you have a ticket # for that bug? No, because I can't provide a simple test case for it. My only hope is to get the source of Twisted and bisect, then see what changed in that revision. I fully intend to do that as soon as I can spare the time. In fact, it's becoming more urgent since 10 fixes some other problems. Really I should be doing that instead of tryin Tahoe-LAFS, but you know how it is... Peter. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Re: [Twisted-Python] ANNOUNCING Tahoe, the Least-Authority File System, v1.7.0
On 10:04 am, peter.westl...@pobox.com wrote: > >No, because I can't provide a simple test case for it. My only hope is >to get the source of Twisted and bisect, then see what changed in that >revision. If it helps at all, there's now a Git mirror of Twisted so you can actually use "git bisect" for this (although I'd love to hear that someone has written a general multi-vcs bisect tool and that git is no longer the easiest way to do this sort of thing). Jean-Paul ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Re: [Twisted-Python] qt4 reactor status
On 26 Jun, 06:03 pm, s...@puzzlebox.info wrote: >Hello- > > I'm wondering if anyone can fill me in on the current status and >plans for Qt support under Twisted? I think you nailed the status - it's an externally maintained reactor which probably works for some people. As far as plans for support go, there aren't really any. Most Twisted development happens without many specific plans though, so you shouldn't let that discourage you. > > In the meantime, can anyone please update me if there has been any >further work or consideration towards official Qt support for Twisted? This isn't really specific to Qt - actually it's about Gtk - but it might be useful anyway. A number of issues with Gtk's network support have recently led me to believe that a better way to integrate with it would be to only put a single file descriptor into its event loop and trigger all other event notification based on that single descriptor. This can be done with epoll, where Gtk would watch the epoll descriptor, but then Twisted's epoll reactor would deal with actual socket events. It might be doable with IOCP reactor too, where a Windows Event is put into Gtk and then all of the IOCP operations trigger that one Event. It's doable with kqueue in a manner similar to that which applies to epoll. And if all else fails, there's the ThreadedSelectReactor approach. Perhaps Qt's networking support is on par with Twisted's, though, and such wouldn't be necessary. I don't know, as I have very little experience with Qt. I just wanted to mention the idea. Jean-Paul ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Re: [Twisted-Python] qt4 reactor status
On Sun, Jun 27, 2010 at 3:37 PM, wrote: > On 26 Jun, 06:03 pm, s...@puzzlebox.info wrote: > >Hello- > > > > I'm wondering if anyone can fill me in on the current status and > >plans for Qt support under Twisted? > > I think you nailed the status - it's an externally maintained reactor > which probably works for some people. As far as plans for support go, > there aren't really any. Most Twisted development happens without many > specific plans though, so you shouldn't let that discourage you. > > > > In the meantime, can anyone please update me if there has been any > >further work or consideration towards official Qt support for Twisted? > One issue with "official" support is PyQt licensing. If PySide is (or becomes) an alternative, the licensing issue would disappear and Twisted "could" include it in the distribution. AFAIK, there hasn't been any substantial work on the qt4reactor beyond what exists on launchpad and github. I have a few patches aging in my inbox which fix some Mac platform problems etc. > Perhaps Qt's networking support is on par with Twisted's, though, and > such wouldn't be necessary. I don't know, as I have very little > experience with Qt. I just wanted to mention the idea. > The design of the qt4reactor was driven by the need to integrate two event loops. Qt has its own asynchronous event handling core which is exposed through PyQt. Fortunately, its fairly straightforward to register a callback for twisted "stuff" (time and file descriptors) and it all works pretty well... (meaning it passed Twisted's torture tests at the time it was checked into launchpad). There is a non-traditional initialization using a non-blocking call to reactor.runReturn() which nails Twisted to PyQt. From that point on, Twisted behaves normally as does Qt / PyQt... The way god intended. The more fundamental question, IMHO, is the status and critical mass of PySide. Nokia was unable to reach agreement with Riverbank which caused uncertainty after Qt's move to open source. I don't know where this stands. If PySide is solid, and the API is similar to PyQt (which is the intent), porting qt4reactor to PySide is "probably" straightforward. I'm guessing that the qt4reactor remains functional as I've gotten email patches in the past few months. I would offer to check this out but I can't promise any timeline. I'm willing to field questions on any coding bizarreness to the degree my brain hardening doesn't interfere. -glenn > > Jean-Paul > > ___ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > -- Glenn H. Tarbox, PhD || 206-274-6919 || gl...@tarbox.org - xmpp || ghtdak - aim,jabber,IRC,yahoo ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
Re: [Twisted-Python] qt4 reactor status
On 2010-06-27 18:51 , Glenn Tarbox, PhD wrote: > One issue with "official" support is PyQt licensing. If PySide is (or > becomes) an alternative, the licensing issue would disappear and Twisted > "could" include it in the distribution. Phil Thompson provides an exception to the GPL license that explicitly states that you can write modules using PyQt4 and release them under the MIT license (or some other license from an enumerated set of OSI-approved licenses). > The more fundamental question, IMHO, is the status and critical mass of > PySide. Nokia was unable to reach agreement with Riverbank which caused > uncertainty after Qt's move to open source. I don't know where this stands. PySide appears to be making steady, healthy progress. If one is on Linux, it would probably be worth an interested person's time installing it and changing your imports from "PyQt4" to "PySide" and see if it works. OS X and Windows builds are still some time away, but apparently the technical blockers have been fixed. It's just a matter of applied effort, probably. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python