[C++-sig] Re: arg type equivivalence (constness)

Mike Rovner mike at nospam.com
Wed Aug 20 00:45:26 CEST 2003

David Abrahams wrote:
> "Mike Rovner" <mike at nospam.com> writes:

>> Boost.Python.ArgumentError: Python argument types in
>>     Scheme.ishintable(Scheme, Layer, int)
>> did not match C++ signature:
>>     ishintable(class Tcn::DerivationScheme const *, class
>> Tcn::LayerDef const *)
>> I overlooked extra parameter in Python args and tried to fix
>> immaginable bug in Scheme pointer.
> See what I get for providing readable error messages?  More support
> requests! ;->
>> Scheme is mentioned twice and that probably confused me.
> That's the "self" object, I bet.

What do you think about reporting object instances as "Name()"
 (i.e. Scheme.ishintable(Scheme(), Layer(), int) in previous example)

I can do that. ;) (add PyInstance_Check to reporting routine)


More information about the Cplusplus-sig mailing list