[C++-sig] Boost.Python Metaclass
Ralf W. Grosse-Kunstleve
rwgk at yahoo.com
Wed Feb 16 08:08:40 CET 2011
Hi James,
> I browsed through object/class.cpp, and I think using PyType_IsSubtype()
> in place of == &class_metatype_object should be sufficient to allow me
> to derive metaclasses from Boost.Python.class.
Could (or did?) you try it out? Ideally based on the current boost svn
trunk. If you send me the patches I'll check them in after testing
locally. Could you try to fit your test example into one of the
existing files in libs/python/test?
Ralf
More information about the Cplusplus-sig
mailing list