Call C3 in a python function without exposing the function to a type


I implemented the following logic and the function failed with no clear error. I wonder if this is possible.

// MyFunc.c3typ
@py(env = "XXX")
funcA: function()
def funcB():
  return c3.ServicePoint.fetchCount()

def funcA()
  return funcB() + 1


It should work as expected.
What error do you get?


urllib2.HTTPError: HTTP Error 500: Server Error


Anything else besides the HTTP 500?


The error is unrelated. This works perfectly.