[Python-ideas] Fix that broken callable builtin

Ionel Cristian Mărieș contact at ionelmc.ro
Sun Apr 19 17:57:15 CEST 2015


On Sun, Apr 19, 2015 at 6:51 PM, Ethan Furman <ethan at stoneleaf.us> wrote:

> The __get__ method of the descriptor, whether of 'property' or something
> home-grown, is the "arbitrary code", and could conceivably be quite
> complex and/or slow -- especially if it has to hit the network to determine
> whether a proxy object is callable.
>

​Well indeed. But any property could do evil stuff on attribute access (as
opposed to a call), should the programmer choose so. I don't see how this
is relevant.​

Thanks,
-- Ionel Cristian Mărieș, http://blog.ionelmc.ro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150419/9898f089/attachment.html>


More information about the Python-ideas mailing list