[Python-Dev] 2.6 object.__init__ & deling __new__

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Jul 15 09:29:27 CEST 2009


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

-- 
Greg


More information about the Python-Dev mailing list