[C++-sig] Re: Pyste bug: operator! shouldn't be translated

David Abrahams dave at boost-consulting.com
Sat Oct 4 17:43:53 CEST 2003

David Abrahams <dave at boost-consulting.com> writes:

>> Is there not any reason why this couldn't be added to Boost.Python 
>> which AFAICS supports every operator except logical NOT? I can't see 
>> any.
> Which python special method would you like it to be translated into?
> We could implement __nonzero__ as !!x, I guess.

This is done in the CVS now.

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list