[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] PEP 590: vectorcall without tp_call

On Wed, May 29, 2019 at 7:55 AM Jeroen Demeyer <J.Demeyer at> wrote:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>