> def SomeFunction(x): > . > . > result = echo(x) > . > . > . Maybe I am missing something or we're going in circles, but how about @inlineCallbacks def SomeFunction(x): result = yield echo(x) You should not use inlineCallbacks on echo itself. You need to use it on the function that calls echo. That's a difference. -Matthias