On Thu, Feb 21, 2008 at 05:00:38PM -0800, [EMAIL PROTECTED] wrote:

> > 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 for looking into that.  Where did you find this documented?  Was
> it in the C API, language reference, or somewhere else entirely?

What, it wasn't obvious in the twisted maze of Python documentation?  :)

    http://www.python.org/doc/2.4.4/ref/customization.html

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

Reply via email to