[Python-Dev] yield without future statement?

Guido van Rossum guido@python.org
Tue, 14 Aug 2001 00:43:29 -0400

>     Guido> Suppose this idea had started differently: as an improvement to
>     Guido> dir(), to make it return all the attributes (or at least all the
>     Guido> ones that are reasonably discoverable).  I don't think anyone
>     Guido> would complain.
> Yeah, but there have already been complaints about the change to what dir()
> returns for list instances in the context of the 2.2 class/type unification.
> I can only suppose there are going to be complaints about other changes
> (from other people) if dir() changes in other ways.

But the proposed change would revert the change that people complained
about: it would return all the methods of a list, like before.

--Guido van Rossum (home page: http://www.python.org/~guido/)