Python revisits call-time defaults in revived PEP 671
Chris Angelico's five-year-old proposal is back, with core developers split on syntax, evaluation scope, and whether a second form of default is worth the cost.
By rvalueChris Angelico's five-year-old proposal is back, with core developers split on syntax, evaluation scope, and whether a second form of default is worth the cost.
By rvalueCompanion PEPs 823 and 824 force the community to weigh everyday ergonomics against teaching cost, precedence surprises, and sentinel interactions under Steering Council scrutiny.
By segfaultThe ?? and ??= forms would supply defaults only when a value is None, and can be accepted independently of related None-aware access syntax.
By segfault