[Twisted-Python] Blocking

Jonathan Lange jml at ids.org.au
Thu May 8 01:39:02 MDT 2003


On 2003.05.06 20:10, Moshe Zadka wrote:
> In short command-line scripts, it's often much easier to block,
> especially if the script doesn't need to do any serving. def 
> makeBlocking(d):

There are similar functions in twisted.trial.util (deferredResult, 
deferredFailure). Blocking tests are much easier to write.

jml




More information about the Twisted-Python mailing list