f.__class__ does the trick
duh, remembered right after mailing the note
Mike "no wonder I don't get met-objects" Powers