[Python-checkins] r46132 - python/trunk/Objects/unicodeobject.c

Fredrik Lundh fredrik at pythonware.com
Tue May 23 21:46:53 CEST 2006


A.M. Kuchling wrote:

>> +#define BLOOM_MEMBER(mask, chr, set, setlen)\
>> +    BLOOM(mask, chr) && unicode_member(chr, set, setlen)
> 
> unicode_member returns 1 if found, -1 if not; doesn't this mean that
> the second part of the && in BLOOM_MEMBER() will always be true?

oops: unfortunately, the test suite didn't catch this.

thanks /F



More information about the Python-checkins mailing list