Your email client is doing "white on white" again. You should try to
get that fixed :-(
Aarrgg— it was iPhone “dark mode” — white on black for me. Why the heck it preserves the text color (and not the background) is beyond me. I hope this works now.
My point was more specific, though - that whenever deferred
expressions have been discussed in the past (and they do come up every
so often) it's fairly clear that one case they would be expected to
handle would be calculating function defaults at call time (at least,
that's my impression). So if they ever do get implemented, they would
render this PEP obsolete.
But that’s exactly my question. I can see how a general purpose deferred expression system could be used for the implementation of late-bound defaults. But I can’t see how one would be both generally useful, and clear and simple when used for late bound defaults.
Which is why I don’t think this PEP would be rendered obsolete— maybe the reference implementation would be, but syntax specific to late bound defaults would still be helpful.
This is different than the switch-case example, where pattern matching is a clear superset.
-CHB