[BangPypers] python new class embedding in C++

Nitin Kumar nitin.nitp at gmail.com
Tue Nov 25 12:23:18 CET 2014

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

More information about the BangPypers mailing list