Francois Ostiguy wrote: > Here is what I tried (in slightly simplified form): > object PythonInstanceOfA = PythonTypeA( py_get_existing() ); object PythonInstanceOfA = py_get_existing(); py_get_existing is already a factory function returning (python) instance of A. HTH, Mike