On Mon, Oct 25, 2021 at 4:29 AM Erik Demaine <[email protected]> wrote:
>
> On Sun, 24 Oct 2021, Erik Demaine wrote:
>
> > I think the semantics are easy to specify: the argument defaults get
> > evaluated for unspecified order, in left to right order as specified in the
> > def.  Those may trigger exceptions as usual.
>
> Sorry, that should be:
>
> I think the semantics are easy to specify: the argument defaults get evaluated
> for unspecified ARGUMENT(s), in left to right order as specified in the def.
> Those may trigger exceptions as usual.
>

Ah, but is it ALL argument defaults, or only those that are
late-evaluated? Either way, it's going to be inconsistent with itself
and harder to explain. That's what led me to change my mind.

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

Reply via email to