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