[Python-Dev] Consistency questions

Gordon McMillan gmcm@hypernet.com
Thu, 20 Jul 2000 13:03:13 -0400

Thomas Wouters wrote:
[ Why doesn't dir( obj ) return inherited methods? ]

> I would suggest adding a second, optional argument to dir(),
> 'recurse' or such, to add that behaviour. I think I can add that
> code to dir() if it's deemed a good idea ;) Turning it on by
> default would probably break too much code.

I strongly agree with the last sentence. I'm only +0 on the 
enhancement (Mark's got that in PythonWin, and I hardly ever 
use it).

- Gordon