Greg Ewing schrieb: >> One idiom that people use a lot is foo[b], where >> b is a boolean. > > Could that be addressed using the new __index__ mechanism? That would be possible, yes. Martin