Andy McKay

Sep 20, 2006

Handling dir in Clouseau

I was playing with dir in Clouseau today. The problem is that in all tools this useful function returns around 600-900 when run on a Zope object. The reason I thought was acquistion and then I realised it wasn’t its just Zope 2’s huge inheritance tree. So how can this be more useful?

  • Integration with DocFinderTab to find say the dir of the top 4-5 or five classes, most of the time you don't need to go too deep.
  • Easy introspection of an objects Schema for example:

Any other things that are possible to do? ie: give me code or sane ideas please