[Twisted-Python] Minor buglet in spread.sturdy?

Andrew Bennetts andrew-twisted at puzzling.org
Fri Sep 13 02:11:26 EDT 2002


If you do:

  foo = sturdy.PerspectiveConnector(...)
  foo.startConnecting()
  foo.callRemote('echo', ...)
  ...

You'll actually connect to the remote server *twice*.

Which of these is the real bug:
  - callRemote sets self.connecting = True instead of startConnecting
  - startConnecting isn't for external use, and should be renamed
    "_startConnecting"?

-Andrew.





More information about the Twisted-Python mailing list