[Python-checkins] r46132 - python/trunk/Objects/unicodeobject.c
Neal Norwitz
nnorwitz at gmail.com
Wed May 24 09:24:22 CEST 2006
On 5/23/06, Fredrik Lundh <fredrik at pythonware.com> wrote:
> 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.
Can you update the test suite so it exercises this code?
Thanks,
n
More information about the Python-checkins
mailing list