
On Mon, Oct 25, 2021 at 3:42 PM Mike Miller <python-ideas@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