Re: [C++-sig] C++ derived from bp::dict

2011-02-10 Thread Michael Andronov
Thanks for a speedy reply! Michael. ___ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig

Re: [C++-sig] C++ derived from bp::dict

2011-02-10 Thread Stefan Seefeld
Hi Michael, I strongly doubt that what you want is possible. While class_ generates a Python type that wraps 'A', boost::python::dict itself is not built that way. Rather, it is a proxy to a Python dict object. Types defined via "class_<>" are added to a type registrar, which is inspected whe