Message 285400 - Python tracker (original) (raw)

Is tp_call set to the wrapper rather then inheriting? What if tp_call is defined in a superclass?

I would consider this as a bug. It would be weird if different ways of calling cause executing different code.

What about dynamically changed Python types? What if you set or delete the call attribute of Python class?