At 07:29 PM 7/15/2009 +1200, Greg Ewing wrote: >P.J. Eby wrote: > >>In effect, 2.6 forces you to have a common known base class *other* >>than 'object' in order to write co-operative classes. :-( > >You have to do that anyway if you want to make cooperative >calls to any method *other* that __init__. I haven't found that to be an issue, actually, since there's usually a base where the "bottom" version of those methods live, and anything implementing those methods is going to inherit it via the mixin. The problem is that for at least __init__ and __new__, 'object' *is* the "bottom" -- and there may be more than one family of mixins that need to call it.
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