Pb with descriptor and super ...

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Fri Mar 9 14:16:19 CET 2007


En Fri, 09 Mar 2007 08:22:46 -0300, Erwan Adam <erwan.adam at cea.fr>  
escribió:

> Thanks for your answer ... I followed the link
> and tried to use the "fully functional implementation of
> the super() built-in class in pure Python" given
> on this page and the result is quite surprising :

It appears that there is some disagreement on how the super object should  
behave.
If you want to know what it actually *does* now (not what it *should* do)  
you can look at typeobject.c, but it's a bit hard to read, and I don't  
understand it in full...
Maybe looking at the test suite is easier, in test_descr.py

-- 
Gabriel Genellina




More information about the Python-list mailing list