YOU ALL SUCK!
ivoras at __-geri.cc.fer.hr
Wed Sep 8 17:32:07 CEST 2004
Porky Pig Jr wrote:
> Christopher T King <squirrel at WPI.EDU> wrote in message news:<Pine.LNX.4.44.0409012156390.29696-100000 at ccc4.wpi.edu>...
>>This is a common newbie trap. The reason is that default arguments are
>>only evaluated once; any changes you make to the list will be reflected in
>>the default argument.
> Say Chris, are you trying to bit some 'random BS generator' with
> another 'random Python answers' generator?
Oooh! What a good idea :) It would be very interesting to see what could
be done with a collection of various 'frequent anwers' on this list :)
Judging from the content of the group in the past weeks, such engine
would surely heavily debate about decorators :)
More information about the Python-list