A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/017016.html below:

[Python-Dev] yield without future statement?

[Python-Dev] yield without future statement? [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/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4