On Sat, Nov 21, 2020 at 2:47 PM Guido van Rossum <gu...@python.org> wrote:
> On Sat, Nov 21, 2020 at 9:52 AM David Mertz <me...@gnosis.cx> wrote: > >> So in my mind, if I had the choice, it is a decision between a sigil and >> a word to indicate "no, really use this name as a value!" I like a word >> better, but none of the current keywords really make sense, so it would >> need to be a new word. I suggested "value", but another word might be >> better. >> > > The good news here is that the PEP 634 syntax is sufficiently restricted > that we can always add this later, regardless of whether we end up wanting > a sigil or a (soft) keyword, as long as we agree that the meaning of a bare > name should be a capture variable. > I thought of that. An incremental approach of accepting PEP 634, but (perhaps) adding a soft keyword later is probably the most sensible thing. If the "need the value of a plain name" is a 1% case, a workaround like putting it into an attribute of some object before matching is a minor issue. If that's the 25%+ case, after experience, the argument for some annotation of "use the value" could be added later. -- The dead increasingly dominate and strangle both the living and the not-yet born. Vampiric capital and undead corporate persons abuse the lives and control the thoughts of homo faber. Ideas, once born, become abortifacients against new conceptions.
_______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/Q7NUDCGLH2OCRK5XJ5QEEOIZ4FECKPGO/ Code of Conduct: http://python.org/psf/codeofconduct/