On May 18, 5:17 pm, Chris Rebert pyid...@rebertia.com wrote:
On Mon, May 18, 2009 at 1:53 PM, Pascal Chambonchambon.pas...@wanadoo.fr wrote:
Else, concerning the syntax for "dynamic" default arguments, I guesse somethng like :
def func(a, b @= ): pass
would be OK, wouldn't it ?
The BDFL has condemned introducing new assignment operators. Seehttp://www.python.org/dev/peps/pep-3099/:
"There will be no alternative binding operators such as :=."
To be fair, the last discussion on thunks turned into a discussion of metalanguages and macros, which were also pretty thoroughly canned on that list.