On Sun, Apr 19, 2015 at 1:14 PM, Paul Moore <p.f.moore@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