Re: [Tutor] Fwd: Delivery Status Notification (Failure)

2005-02-14 Thread Jeffrey Lim
perhaps it's the same Bob Gailer in this thread here? - http://mail.python.org/pipermail/tutor/2005-February/035774.html, in which case you should probably not see any such messages anymore. -jf On Mon, 14 Feb 2005 22:06:51 -0500, Jacob S. <[EMAIL PROTECTED]> wrote: > I got one or two, same reci

[Tutor] Re: python's default argument value handling in functions - weird syntax? problem grappling with the concept

2005-02-09 Thread Jeffrey Lim
On Wed, 09 Feb 2005 23:50:49 +0100, Abel Daniel <[EMAIL PROTECTED]> wrote: > > quoted lines are from Jeffrey Lim > [... I have rearranged the order of the quotes ...] > thanks, Abel! Especially for the part on the 'C' concept of variables, vs that of Pyth

Re: [Tutor] python's default argument value handling in functions -weird syntax? problem grappling with the concept

2005-02-09 Thread Jeffrey Lim
On Wed, 9 Feb 2005 22:38:20 -, Alan Gauld <[EMAIL PROTECTED]> wrote: > > > > My questions: > > > > [snip] > > [snip] > > HTH, yes it did! I've already gotten it - but your explanation was just simply beautiful (it really is). Thanks for the note about "not in think in terms of C" as well - I'

Re: e-mail address change (was Re: [Tutor] python's default argument value handling in functions - weird syntax? problem grappling with the concept)

2005-02-09 Thread Jeffrey Lim
On Wed, 9 Feb 2005 14:05:23 -0800 (PST), Danny Yoo <[EMAIL PROTECTED]> wrote: > > [snip] > > Does this make sense so far? YES!!! Most perfectly!!! Thanks for your detailed step-by-step analysis man - it was very helpful, and much appreciated... > > Looking back at the program, I think that you

Re: e-mail address change (was Re: [Tutor] python's default argument value handling in functions - weird syntax? problem grappling with the concept)

2005-02-09 Thread Jeffrey Lim
On Wed, 09 Feb 2005 14:51:42 -0700, Bob Gailer <[EMAIL PROTECTED]> wrote: > At 02:22 PM 2/9/2005, Jeffrey Lim wrote: > >and have the Common Courtesy to stop hijacking or rewriting other > >people's thread titles unnecessarily pls. (Like when was this thread > &g

Re: [Tutor] python's default argument value handling in functions - weird syntax? problem grappling with the concept

2005-02-09 Thread Jeffrey Lim
On Wed, 9 Feb 2005 13:12:22 -0800, Mike Bell <[EMAIL PROTECTED]> wrote: > The function's local variable L is not static, but "default argument > value" is, which is what the documentation means when it says that it > will evaluate these only once. When the default value is a list (in > your code,

Re: e-mail address change (was Re: [Tutor] python's default argument value handling in functions - weird syntax? problem grappling with the concept)

2005-02-09 Thread Jeffrey Lim
and have the Common Courtesy to stop hijacking or rewriting other people's thread titles unnecessarily pls. (Like when was this thread ever about the change of email address change on your part???) -jf ___ Tutor maillist - Tutor@python.org http://mail.

Re: e-mail address change (was Re: [Tutor] python's default argument value handling in functions - weird syntax? problem grappling with the concept)

2005-02-09 Thread Jeffrey Lim
On Wed, 09 Feb 2005 14:12:30 -0700, Bob Gailer <[EMAIL PROTECTED]> wrote: > At 01:14 PM 2/9/2005, Jeffrey Lim wrote: > > > >Example 1 > > >>> def f(a,L=[]): > >... if L==[5]: > >... print 'L==[5] caught' > >...

[Tutor] python's default argument value handling in functions - weird syntax? problem grappling with the concept

2005-02-09 Thread Jeffrey Lim
hey folks, i'm a relative newbie to python itself, and I am currently learning by making my way through the tutorial found within the docs of 2.4 (http://www.python.org/doc/2.4/tut/tut.html). I am currently having a problem dealing with the concept of the "default argument value" in python functio