On 2019-05-29 16:00, Christian Heimes wrote:
> You could add a check to PyType_Ready() and have it either return an
> error or fix tp_call.
Yes, but the question is: which of these two alternatives? I would vote
for fixing tp_call but Petr voted for an error.
I also vote for the error so that people are sure they get the semantics they want/expect. If not defining tp_call is a reasonable thing then I would expect it to never have to be set to begin with and that doesn't sound like what anyone wants if we're talking about automatically filling it.