In message <[EMAIL PROTECTED]>, Steven D'Aprano
wrote:

> On Thu, 09 Oct 2008 01:39:30 -0700, kenneth (a.k.a. Paolo) wrote:
> 
>> On Oct 9, 10:14 am, Christian Heimes <[EMAIL PROTECTED]> wrote:
>>
>>> No, it always contains the default argument because default values are
>>> created just ONE TIME
<http://effbot.org/pyfaq/why-are-default-values-shared-between-objects>...
>> 
>> 
>> Wow, it's a very "dangerous" behavior ...
> 
> No, it's very *useful* behaviour.

Can you give an example of how useful it is? Something worth the pain of
newbies tripping over it every week?
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to