[Python-ideas] Fix that broken callable builtin

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


On Sun, Apr 19, 2015 at 1:14 PM, Paul Moore <p.f.moore at gmail.com> wrote:

> so the fact that callable() doesn't run arbitrary code is relevant to me.


​_PyObject_HasAttrId(x, &PyId___call__) ​​wouldn't actually do the call.
What did you meant to say?


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/61428a42/attachment.html>


More information about the Python-ideas mailing list