[Python-Dev] Consistency questions
Skip Montanaro
skip@mojam.com (Skip Montanaro)
Thu, 20 Jul 2000 10:50:58 -0500 (CDT)
Thomas> I would suggest adding a second, optional argument to dir(),
Thomas> 'recurse' or such, to add that behaviour. I think I can add that
Thomas> code to dir() if it's deemed a good idea ;) Turning it on by
Thomas> default would probably break too much code.
I don't think so. I suspect most people use dir() interactively to see what
attributes an object supports and would appreciate the improved
functionality. Besides, we are talking 2.0 here. Nothing wrong with a
little breakage... ;-)
Skip