[Python-ideas] parameter omit
Steven Bethard
steven.bethard at gmail.com
Fri May 11 07:41:51 CEST 2007
On 5/10/07, Aaron Brady <castironpi at comcast.net> wrote:
> From: Steven Bethard [mailto:steven.bethard at gmail.com]
> > On 5/10/07, Aaron Brady <castironpi at comcast.net> wrote:
> > > The new way:
> > >
> > > my_b, my_c= paramdefault, paramdefault
> > > [code to assign my_b and my_c]
> > > foo(a, my_b, my_c)
[snip]
> > It is so extremely uncommon to need to do such a thing that I'm firmly
> > against adding any additional syntax. Syntax should only be introduced
> > for common things that many people need.
>
> Mr. Bethard, I am not adding syntax. Don't put words in my mouth. This is
> another one- observe the subject line. Tell me you always make a call with
> the same parameters, every time you make the call. My thinking can't be
> that backwards. A use case could take some time, but sure.
Hmm... If ``paramdefault`` isn't syntax, then how are you proposing
to implement it?
STeVe
--
I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a
tiny blip on the distant coast of sanity.
--- Bucky Katt, Get Fuzzy
More information about the Python-ideas
mailing list