On Wed, Feb 24, 2021 at 4:59 AM Paul Sokolovsky <pmis...@gmail.com> wrote:
> Without getting to the root cause, there will be only workarounds of
> different level of ugliness. For example, any reasonable JIT would
> implement proper semantics - param checking *inside* functions (just
> like the C code does now).

Why do you assume that this is "proper semantics"? I'm confused. What
is it that makes function parameter matching inherently part of the
body of the function?

For one thing, that notion is semantically incompatible with multiple
dispatch, where matching parameter numbers or types determines which
function is even going to be called.

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/KOXIVI3KX5ST4HA6ERN5ORKLUGO6G3X7/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to