[Twisted-Python] unpause()

Glyph Lefkowitz glyph at twistedmatrix.com
Thu Jun 27 19:26:37 EDT 2002


From: Paul Boehm <typo at soniq.net>
Subject: [Twisted-Python] unpause()
Date: Thu, 27 Jun 2002 13:25:13 +0200

> imho self._runCallbacks() in Deferred.unpause() needs to be removed,
> because self.isError and self.results aren't neccesarily initialized at this
> point, yet.

I think you're right; I ought to be checking self.called before
self._runCallbacks().

> web.widgets can trigger this with its deferred widget rendering.

> any comments ?

I've fixed it, I think.  Care to contribute a test case? ;)

-- 
 |    <`'>    |  Glyph Lefkowitz: Traveling Sorcerer   |
 |   < _/ >   |  Lead Developer,  the Twisted project  |
 |  < ___/ >  |      http://www.twistedmatrix.com      |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20020627/e5aa39bb/attachment.pgp 


More information about the Twisted-Python mailing list