PEP 671 – Syntax for late-bound function argument defaults
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
PEP 671, a draft by Chris Angelico, proposes a new name=>expression syntax so that function parameter defaults can be evaluated at call time rather than at definition time.