[Twisted-Python] twisted.protocols.loopback.loopbackTCP(UNIX) is broken
exarkun at divmod.com
Mon Feb 27 08:56:44 EST 2006
On Mon, 27 Feb 2006 17:48:38 +1100, Jonathan Lange <jml at mumak.net> wrote:
>loopbackTCP and loopbackUNIX both use spinWhile and spinUntil, which
>makes them broken.
They were not always based on these two functions. Someone changed them to work this way after spinWhile and spinUntil were added to trial.
>It appears that they were always meant to block. Why is this? Can we
>get rid of them?
They should be deprecated in favor of an API which returns a Deferred.
More information about the Twisted-Python