Re: [Twisted-Python] prerelease preview predocumentation

2011-03-29 Thread Albert Brandl
On Mon, Mar 28, 2011 at 09:27:04AM -0400, Tom Davis wrote: > > It's great to have everything indexed on one page with easy drill-down > into specific sections. It becomes really obvious where the hierarchy > can be optimized and how we can logically go about breaking up the > various sections.

Re: [Twisted-Python] running several services from a single app

2011-03-29 Thread Aljoša Mohorović
On Mon, Mar 28, 2011 at 7:44 PM, Allen Short wrote: > Get rid of 'application1' and 'application2' and just create a single one > named 'application' , delete the last three lines, and this code will work > just fine as a .tac file. You only need one call to 'Application' per is it possible to se

Re: [Twisted-Python] Deferred documentation.

2011-03-29 Thread Peter Hogg
I haven't been following the thread, but just wanted to mention something that caught me out when I was learning to use deferreds. Both the old deferred documentation and your fix-up fail to mention addCallbacks() until near the end, when in practice I find addCallbacks() to be much more useful

Re: [Twisted-Python] Deferred documentation.

2011-03-29 Thread Jasper St. Pierre
Good catch, I really should mention that... On Tue, Mar 29, 2011 at 8:56 AM, Peter Hogg wrote: > I haven't been following the thread, but just wanted to mention > something that caught me out when I was learning to use deferreds. > > Both the old deferred documentation and your fix-up fail to me

Re: [Twisted-Python] Deferred documentation.

2011-03-29 Thread Christopher Armstrong
On Tue, Mar 29, 2011 at 7:56 AM, Peter Hogg wrote: > I haven't been following the thread, but just wanted to mention > something that caught me out when I was learning to use deferreds. > > Both the old deferred documentation and your fix-up fail to mention > addCallbacks() until near the end, wh

Re: [Twisted-Python] running several services from a single app

2011-03-29 Thread Kevin Horn
On Tue, Mar 29, 2011 at 2:46 AM, Aljoša Mohorović < aljosa.mohoro...@gmail.com> wrote: > On Mon, Mar 28, 2011 at 7:44 PM, Allen Short > wrote: > > Get rid of 'application1' and 'application2' and just create a single one > > named 'application' , delete the last three lines, and this code will >

Re: [Twisted-Python] running several services from a single app

2011-03-29 Thread Tim Allen
On Tue, Mar 29, 2011 at 09:46:11AM +0200, Aljoša Mohorović wrote: > is there a way to tell reactor to run application and services defined > so i can skip .tac file and just execute python file? > maybe something similar to this: > > application = service.Ap