Strange Behavior

Diez B. Roggisch deets at nospam.web.de
Mon Oct 16 12:42:00 EDT 2006


abcd wrote:

> Rob Williscroft wrote:
>> http://docs.python.org/ref/function.html#l2h-619
> 
> 
> thanks.  weird that it works that way since they even state "This is
> generally not what was intended."

The "not intended" refers to the programmer making the mistake of creating a
shared instance - which usually isn't intended, as you yourself are an
example of.

Diez



More information about the Python-list mailing list