"Guido van Rossum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | In Py3k, dir() will allow any class to makes its instances special | cases by defining __dir__().
Nice. Then the current special case will become explainable as type.__dir__ excluding type's numerous attibutes, to avoid clutter, and we should have fewer discussions about what dir() 'ought' to return ;-) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com