Re: [Python-Dev] PEP 590: vectorcall without tp_call

2019年5月29日 09:52:20 -0700

On Wed, May 29, 2019 at 7:55 AM Jeroen Demeyer <[email protected]> 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
it.
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to