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-February/012589.html below:

[Python-Dev] Type/class differences (Re: Sets: elt in dict, lst.include)

[Python-Dev] Type/class differences (Re: Sets: elt in dict, lst.include)Guido van Rossum guido@digicool.com
Sun, 04 Feb 2001 23:47:26 -0500
> > The old type/class split:  list is a type, and types spell their "method
> > tables" in ways that have little in common with how classes do it.
> 
> Maybe as a first step towards type/class unification one
> day, we could add __xxx__ attributes to all the builtin
> types, and start to think of the method table as the
> definitive source of all methods, with the tp_xxx slots
> being a sort of cache for the most commonly used ones.

Yes, I've often thought that we should be able to heal the split for
95% by using a few well-aimed tricks like this.  Later...

--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