python. Renamed success into ok in InvocationResult, RestResult, fixed #289.