2010/6/11 Brett Cannon <[email protected]>: > This "magical" ignoring of self seems to extend to any PyCFunction. Is > this dichotomy intentional or just a "fluke"? Maybe this is a > hold-over from before we had descriptors and staticmethod, but now > that we have these things perhaps this difference should go away.
There are several open feature requests about this. It is merely because PyCFunction does not implement __get__. -- Regards, Benjamin _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
