[Python-3000] Method descriptors

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Dec 12 03:10:29 CET 2007


Guido van Rossum wrote:
> On Dec 11, 2007 1:50 AM, Marcin 'Qrczak' Kowalczyk <qrczak at knm.org.pl> wrote:
> 
> > CFunction does not define descr_get - why?
> 
> I don't see why we should bother.

I put forward a possible reason recently -- so that
Pyrex-defined functions could be used as methods
without requiring any special trickery.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-3000 mailing list