On Thu, Dec 9, 2021 at 2:31 AM Paul Moore <p.f.mo...@gmail.com> wrote
> 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 -- Christopher Barker, PhD (Chris) Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython
_______________________________________________ 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/VYJHLMXARJTM5HSZPO4INUHWITUD5PG4/ Code of Conduct: http://python.org/psf/codeofconduct/