title: Returning different outputs from Python + Numba
body: <p>I have a Python function that I am optimising for speed using Numba. However I need to have the function return a float64 (it will be called by a minimisation algorithm which requires a single float output). However I also need it to return information about the internal state once the optimisation is complete. This is represented by a tuple of 26 Numpy vectors.</p>
  <p>Currently Numba only allows one type of output.</p>
  <p>I have tried outputting the state to a file using an input flag thus avoiding a return type nut Numba does not like file I/O.</p>
  <p>How else can I get access to the internal state and still use Numba ?</p>