[Twisted-Python] Re: reactor.stop
radeex at gmail.com
Mon Aug 16 01:11:31 EDT 2004
On Mon, 16 Aug 2004 11:39:11 +0800, Tsai Li Ming <mailinglist at ltsai.com> wrote:
> The part that I don't understand is when I import the reactor in my own
> py files, why will it be the same single reactor that the application
> uses. Is it something special that twisted is handling or is just a
> simple python question?
Well, the reactor module is pretty weird and magical, but in this
regard, it acts exactly like any python module. When you import any
module twice, you get the same module.
Twisted | Christopher Armstrong: International Man of Twistery
Radix | Release Manager, Twisted Project
More information about the Twisted-Python