[Twisted-Python] AbstractDatagramProtocol implementation question

2009-12-03 Thread Olivier Parisy
I am studying the implementation of twisted UDP-related classes, and I do not understand the point of the "numPorts" attribute of AbstractDatagramProtocol. It is clearly designed to avoid multiple calls to startProtocol() from doStart(), but I fail in imagining a scenario where this may happen

[Twisted-Python] Help installing twisted rev 27662, OSX10.6, Python 2.6.4

2009-12-03 Thread Erik van Blokland
Hullo, I'm trying to get the current svn version of twisted to run on a current python 2.6.4 (not the stock python, a newer one) on Mac OSX 10.6. > In file included from > /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/unicodeobject.h:4, > from > /Library/

Re: [Twisted-Python] deferToThread and thread ID

2009-12-03 Thread exarkun
On 05:23 pm, masetto4e...@gmail.com wrote: >Hi all, > >Last week i've started to study (and love :P) Twisted . >Well, just for didactical purpose i've written a little script which >download a web page (getPage) and calculate a long Fibonacci number >within a >deferToThread and it works perfectly.

Re: [Twisted-Python] Lore to Sphinx Conversion Progress Report

2009-12-03 Thread Kevin Horn
On Thu, Dec 3, 2009 at 10:11 AM, Glyph Lefkowitz wrote: > > On Dec 3, 2009, at 10:06 AM, exar...@twistedmatrix.com wrote: > > I want some experience with Sphinx so that can verify the premise that > Sphinx is better than Lore. So, the experience isn't necessary for the > conversion, it's necessar

Re: [Twisted-Python] Lore to Sphinx Conversion Progress Report

2009-12-03 Thread Kevin Horn
On Thu, Dec 3, 2009 at 3:00 AM, Glyph Lefkowitz wrote: > > On Dec 3, 2009, at 1:29 AM, Kevin Horn wrote: > > On Wed, Dec 2, 2009 at 8:38 PM, wrote: > >> >> As far as the (I'm going to call it) roadmap goes, the thought that's >> pushed its way to the fore for me is that I'd like to try this with

[Twisted-Python] deferToThread and thread ID

2009-12-03 Thread masetto scarface
Hi all, Last week i've started to study (and love :P) Twisted . Well, just for didactical purpose i've written a little script which download a web page (getPage) and calculate a long Fibonacci number within a deferToThread and it works perfectly. I would like to see the different threads id of th

Re: [Twisted-Python] Lore to Sphinx Conversion Progress Report

2009-12-03 Thread Glyph Lefkowitz
On Dec 3, 2009, at 10:06 AM, exar...@twistedmatrix.com wrote: > I want some experience with Sphinx so that can verify the premise that > Sphinx is better than Lore. So, the experience isn't necessary for the > conversion, it's necessary for me to be comfortable that the conversion > is a good

Re: [Twisted-Python] Lore to Sphinx Conversion Progress Report

2009-12-03 Thread exarkun
On 09:00 am, gl...@twistedmatrix.com wrote: > >On Dec 3, 2009, at 1:29 AM, Kevin Horn wrote: >>On Wed, Dec 2, 2009 at 8:38 PM, wrote: >> >>As far as the (I'm going to call it) roadmap goes, the thought that's >>pushed its way to the fore for me is that I'd like to try this with >>something smaller

Re: [Twisted-Python] Lore to Sphinx Conversion Progress Report

2009-12-03 Thread Glyph Lefkowitz
On Dec 3, 2009, at 1:29 AM, Kevin Horn wrote: > On Wed, Dec 2, 2009 at 8:38 PM, wrote: > > As far as the (I'm going to call it) roadmap goes, the thought that's > pushed its way to the fore for me is that I'd like to try this with > something smaller and simpler than Twisted first. It would be