embedding python in C++

Syver Enstad syver at NOSPAMcyberwatcher.com
Wed Jan 10 08:49:29 EST 2001


"Alex Martelli" <aleaxit at yahoo.com> wrote in message
news:93hgeq014d3 at news2.newsguy.com...
> Just reiterating an important point: this is true for *instances*,
> where such after-the-fact tagging is implemented; it may not be for
> a typical C-coded type, unless care is taken to let the caller set
> (and re-read) arbitrary attributes.

This is done by implementing setattr so that it assigns values to python
dictionary that is a member of the C type, right?





More information about the Python-list mailing list