[C++-sig] optimizing away calls to the python runtime -- was [detecting if a function is written in python or C++]

mathieu lacage Mathieu.Lacage at sophia.inria.fr
Wed Jan 18 12:00:59 CET 2006


hi,

François Duranleau wrote:

>  with C++ name patterns. As a matter of fact, we could also use a hack 
> with the __class__ attribute (it seems like the value for all 
> Boost.Python classes is <type 'Boost.Python.class'>. But what about 
> C++ functions? Are we


What would such a hack do ? Recognize which classes are exported by 
boost.python and are thus C++ bound classes ? What would you use this for ?

Mathieu



More information about the Cplusplus-sig mailing list