Hi,
sorry for spreading these issues into three mails, but I cannot quite
figure out whether they are related or not. So, here is the third
installment of my adventures with nested classes.
Consider the following code which compiles fine:
---8<---
cdef extern from "foo":
cdef cppclass out
Hi,
I'm currently experimenting with Cython's support for nested C++ classes
and might havce encountered a bug.
I have attempted to strip down the example from the documentation to its
bare minimum. This here works fine:
---8<---
cdef extern from "foo":
cdef cppclass outer[T]:
c
Hi,
the following very short Cython code crashes the Cython compiler (v0.15.1):
---8<---
cdef extern from "foo.h":
cdef cppclass foo:
pass
foo()
---8<---
The stack trace is attached.
Best regards
Simon
Traceback (most recent call last):
File "/home/anders/tmp/Cython-0.15.1/cytho
rgument, i.e., the "[ T ]" in line 2 and
the "[ int ]" in line 5.
Hence, the issue only appears when calling methods of _templated_
classes, which have a _default_ value for their argument.
Simon
+---
| Dr. Simon Anders, Dipl.-Phys.
| European Molecular Biology Lab