On Jul 4, 2013, at 2:34 AM, Brett Cannon <br...@python.org> wrote:
> The loss of the ability to figure out the class from an unbound method seems
> quite an annoying step back from an introspection point of view.
>
> It's only annoying if you take the perspective that methods are somehow
> special compared to functions. With the removal of bound class methods that
> makes methods == functions that are an attribute on a class. And when you
> take that perspective it makes having anything special about methods seem
> wrong. It also makes adding a function to a class post-class creation make
> more sense since there is no difference technically.
Well said, Brett.
This is a nice summary.
Raymond
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com