[Cython] Class methods returning C++ class references are not dealt with correctly?
Sturla Molden
sturla at molden.no
Thu Feb 28 15:58:36 CET 2013
On 28.02.2013 15:46, Yury V. Zaytsev wrote:
> My method call is actually wrapped in a try { ... } catch clause,
> because I declared it as being able to throw exceptions, so the
> reference can't be defined in this block, or it will not be accessible
> to the outside world.
If Cython generates illegal C++ code (i.e. C++ that don't compile) it is
a bug in Cython.
There must be a general error in the handling of C++ references when
they are declared without a target.
Sturla
More information about the cython-devel
mailing list