say we have python class:

class XYZ(object):
    -------

PyObject* instance = PyInstance_New(klass, NULL, NULL);

above c++ embedding is not working. but if we convert python class to old
style it work.
What need to be taken care?

Nitin K
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to