[Python-Dev] PEP 580/590 discussion

Jeroen Demeyer J.Demeyer at UGent.be
Thu May 9 17:54:14 EDT 2019


On 2019-05-09 20:30, Petr Viktorin wrote:
> But, if you apply the robustness principle to vectorcallfunc, it
> should accept empty tuples.

Sure, if the callee wants to accept empty tuples anyway, it can do that. 
That's the robustness principle. But us *forcing* the callee to accept 
empty tuples is certainly not.

Basically my point is: with a little bit of effort in CPython we can 
make things simpler for all users of vectorcall. Why not do that? 
Seriously, what's the argument for *not* applying this change?


Jeroen.


More information about the Python-Dev mailing list