From: Arnaud Delobelle <arno...@googlemail.com>
Date: Wed, 13 May 2009 20:44:14 +0100
Local: Wed, May 13 2009 3:44 pm
Subject: Re: [Python-ideas] Default arguments in Python - the return - running out of ideas but...
On 13 May 2009, at 20:18, CTO wrote: > Why not just push for some decorators that do this to be included in This is not possible. > stdlib? I see the utility, but not the point of adding extra syntax. >>>> @Runtime > This seems much more intuitive and useful to me than adding new def f(x=a**2+2*b+c): is compiled to something very much like: _tmp = x**2+2*b+c So it is impossible to find out what expression yields the default -- _______________________________________________ You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||