Re: [Twisted-Python] 9.0.0 question

2010-01-22 Thread Tristan Seligmann
On Sat, Jan 23, 2010 at 1:40 AM, Mikhail Terekhov wrote: > So why reactor never stops if it was never run? What it is doing? You call reactor.stop(); this does nothing but produce a delayed exception. You then call reactor.run(), which runs the reactor. You then never call reactor.stop() again, a

Re: [Twisted-Python] 9.0.0 question

2010-01-22 Thread Mikhail Terekhov
2. Why reactor.stop() hangs if it is called before reactor.run()? >>> >>> It doesn't.  It raises an exception.  The reason the example hangs is >>> that >> >> Care to elaborate? Who hangs then and why python exits and I see this >> exception only after I hit Cntl-C? > > I think that's what I e

Re: [Twisted-Python] 9.0.0 question

2010-01-22 Thread exarkun
On 10:42 pm, ter...@gmail.com wrote: On Fri, Jan 22, 2010 at 4:40 PM, wrote: On 21 Jan, 03:30 pm, ter...@gmail.com wrote: [snip] 2. Why reactor.stop() hangs if it is called before reactor.run()? It doesn't.  It raises an exception.  The reason the example hangs is that Care to elaborate

Re: [Twisted-Python] 9.0.0 question

2010-01-22 Thread Mikhail Terekhov
On Fri, Jan 22, 2010 at 4:40 PM, wrote: > On 21 Jan, 03:30 pm, ter...@gmail.com wrote: >> [snip] >> >> 2. Why reactor.stop() hangs if it is called before reactor.run()? > > It doesn't.  It raises an exception.  The reason the example hangs is that Care to elaborate? Who hangs then and why python

Re: [Twisted-Python] 9.0.0 question

2010-01-22 Thread exarkun
On 21 Jan, 03:30 pm, ter...@gmail.com wrote: On Thu, Jan 21, 2010 at 3:58 AM, wrote: On 03:43 am, gl...@twistedmatrix.com wrote: On Jan 20, 2010, at 3:20 PM, Mikhail Terekhov wrote: Hi, I've switched recently from 8.2 to 9.0 and noticed that some of my client scripts hang in reactor.stop()

Re: [Twisted-Python] Log rotates not as expected

2010-01-22 Thread Lucas Taylor
On 1/22/10 3:15 AM, Pet wrote: > On Fri, Jan 22, 2010 at 12:13 AM, Lucas Taylor > wrote: >> On 1/21/10 11:17 AM, Pet wrote: >>> On Thu, Jan 21, 2010 at 7:02 PM, Maarten ter Huurne >>> wrote: On Thursday 21 January 2010, Lucas Taylor wrote: > This can occur if you have multiple inst

Re: [Twisted-Python] Log rotates not as expected

2010-01-22 Thread exarkun
On 10:15 am, petshm...@googlemail.com wrote: On Fri, Jan 22, 2010 at 12:13 AM, Lucas Taylor wrote: On 1/21/10 11:17 AM, Pet wrote: On Thu, Jan 21, 2010 at 7:02 PM, Maarten ter Huurne wrote: On Thursday 21 January 2010, Lucas Taylor wrote: This can occur if you have multiple instances of logf

Re: [Twisted-Python] SIP and RTP

2010-01-22 Thread Landreville
On Thu, Jan 21, 2010 at 9:58 PM, Allen Short wrote: > > Your best bet is probably going to be looking at the code in Divmod Sine. > You can access the code at: http://divmod.org/svn/Divmod/trunk/Sine/ > Unfortunately it isn't very polished -- documentation, especially for the > user agent pieces,

Re: [Twisted-Python] Log rotates not as expected

2010-01-22 Thread Pet
On Fri, Jan 22, 2010 at 12:13 AM, Lucas Taylor wrote: > On 1/21/10 11:17 AM, Pet wrote: >> On Thu, Jan 21, 2010 at 7:02 PM, Maarten ter Huurne >> wrote: >>> On Thursday 21 January 2010, Lucas Taylor wrote: >>> This can occur if you have multiple instances of logfile.LogFile setup to man