[Twisted-Python] reactor.callLater(0,) should not be an idiom[PATCH]

Itamar Shtull-Trauring twisted at itamarst.org
Tue Oct 15 15:07:41 EDT 2002


On Tue, 15 Oct 2002 14:06:32 -0500
"Sean Riley" <sean at twistedmatrix.com> wrote:

> That doesn't answer my question. Shouldn't schedule() and callLater()
> appear to the user to be called on the same module regardless of the
> underlying implementation details?

No. reactor is for core, low-level interfaces only. Anything that can be
built on top of these APIs should not be in the reactor.

-- 
Itamar Shtull-Trauring    http://itamarst.org/
Available for Python, Twisted, Zope and Java consulting




More information about the Twisted-Python mailing list