A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-July/127234.html below:

[Python-Dev] lament for the demise of unbound methods

[Python-Dev] lament for the demise of unbound methods [Python-Dev] lament for the demise of unbound methodsRaymond Hettinger raymond.hettinger at gmail.com
Sun Jul 7 05:30:44 CEST 2013
On Jul 4, 2013, at 2:34 AM, Brett Cannon <brett at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130706/8effd0ec/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4