On Thu, Feb 21, 2008 at 04:44:54PM -0800, [EMAIL PROTECTED] wrote:

> > Um, other than this will make Dan smack me around, it looks good.
> 
> Right.  Of course you did this on purpose, just to be an evil Danek.

I don't need to do silly things like that to be an evil Danek.  Sheesh.

> > I'm curious -- does bool(self.searchdb) trigger the same bad behavior?
> 
> I think anything that requires us to evaluate the contents of
> self.searchdb will trigger this.

Yeah.  Looks like __len__() is called if __nonzero__() is not defined for
an object, and I bet that dbm objects don't define the latter.  Not that
this helps us directly, but it might be the way for the python folks to fix
it.

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to