I have posted a question over on stack overflow. One guy has commented that
my code works for him. He didn't say he used stackless, so it is possible
that this is something that might only occurs with stackless. If any of you
have a moment to check out the question and chime in, I would be grateful.

In short what I am seeing is if my derived class is returned (as a pointer
to the base class) from the factory function to python then I get a
segmentation fault. Python reports that the returned object is of the class
that the factory produced (derived class) but attempts to access the
derived classes methods causes the seg fault, but accessing the base class
methods works.

*Another question, is anyone aware of an issue with exposing polymorphic
classes via a factory in an embedded stackless environment? *

Factory returning boost exposed python object seg faults
http://stackoverflow.com/q/32784954/2446566?sem=2

Thanks Robert.
_______________________________________________
Stackless mailing list
Stackless@stackless.com
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to