On Dec 12, 2007 3:06 PM, Greg Ewing <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > On Dec 12, 2007 2:45 PM, Greg Ewing <[EMAIL PROTECTED]> wrote: > > > >>Can you give me a link to that? I wasn't following the > >>discussion that closely. > > > > http://svn.python.org/view?rev=59469&view=rev > > That's not quite what I had in mind -- Pyrex already solves > the problem by wrapping the function in another object. > My suggestion was to make the PyCFunction itself obey the > descriptor protocol so as to create bound methods.
As I explained earlier, that would break a fair amount of existing code. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com