On Mon, Oct 25, 2021 at 3:42 PM Mike Miller <python-id...@mgmiller.net> wrote:
> > On 2021-10-25 11:27, Ethan Furman wrote: > > - `deferred` soft keyword > > > "defer" please. > > This construct did not happen in the past, and it's shorter of course. > > -Mike > For soft keyword options, defer is better than deferred. But previously I suggested ellipses (because to me it looks kind of like "later..."). Chris A didn't care for it, but and I still kind of like it despite his objections: def f(a, b = ... []): ... Chris A said it could be a problem because ellipses are legal in an expression, but I don't think that should be a problem for the PEG parser? This would be syntactically legal, though not very useful: def f(a, b = ... ...): ... ...and this would be syntactically legal, but would result in an error: def f(a, b = ... ...+1): ... If everyone hates the ... bikeshed color, my other suggestion would be "late" (standing for "late binding"), which is 1 character shorter than "defer", and semantically meaningful: def f(a, b = late []): ... --- Ricky. "I've never met a Kentucky man who wasn't either thinking about going home or actually going home." - Happy Chandler
_______________________________________________ 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/HG6RDHZHUCOSZW65T6PKM35554IA2AAG/ Code of Conduct: http://python.org/psf/codeofconduct/