What would the the syntax for the default be, i would presume just a single expression like a lambda, but what about something like an async function, for example: ```py async def foo(arg=>await get_arg()): ``` would this work? _______________________________________________ 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/TUPT6HTLLBCBWHZJIJCIPE4EUBDHOLNQ/ Code of Conduct: http://python.org/psf/codeofconduct/
- [Python-ideas] Re: PEP 671: S... David Mertz, Ph.D.
- [Python-ideas] Deferred evalu... Chris Angelico
- [Python-ideas] Re: Deferred e... David Mertz, Ph.D.
- [Python-ideas] Re: PEP 671: Syntax for late-bound funct... Thomas Mc Kay
- [Python-ideas] Re: PEP 671: Syntax for late-bound funct... Steven D'Aprano
- [Python-ideas] Re: PEP 671: Syntax for late-bound ... Chris Angelico
- [Python-ideas] Re: PEP 671: Syntax for late-bound funct... Paul Moore
- [Python-ideas] Re: PEP 671: Syntax for late-bound ... Chris Angelico
- [Python-ideas] Re: PEP 671: Syntax for late-bound ... Matt del Valle
- [Python-ideas] Re: PEP 671: Syntax for late-bo... Steven D'Aprano
- [Python-ideas] Re: PEP 671: Syntax for late-bound funct... Zomatree .
- [Python-ideas] Re: PEP 671: Syntax for late-bound ... Chris Angelico
- [Python-ideas] Re: PEP 671: Syntax for late-bound funct... Erik Demaine
- [Python-ideas] Re: PEP 671: Syntax for late-bound funct... Ben Rudiak-Gould
- [Python-ideas] Re: PEP 671: Syntax for late-bound funct... Barry Scott
- [Python-ideas] Re: PEP 671: Syntax for late-bound ... Chris Angelico
- [Python-ideas] Re: PEP 671: Syntax for late-bo... Abdulla Al Kathiri
- [Python-ideas] Re: PEP 671: Syntax for late-bound funct... Marc-Andre Lemburg
- [Python-ideas] Re: PEP 671: Syntax for late-bound ... Chris Angelico
- [Python-ideas] Re: PEP 671: Syntax for late-bo... Marc-Andre Lemburg
- [Python-ideas] Re: PEP 671: Syntax for lat... Chris Angelico