[wingide-users] bug or feature
Brian
almondb at gmail.com
Sat Aug 20 16:04:46 EDT 2005
On 8/20/05, Paul Sijben <sijben at eemvalley.com> wrote:
> I am running into a problem which I believe to be a bug in python.
>
> I am creating a set of objects, remove it and then create them anew.
...
>
> I see the second time that I create this object it starts NOT EMPTY. The
> val gets the SAME object list (checkes by the object references).
>
> However when I leave the code unchanged but for the creation with
> explicitly an empty list I am getting a nively empty list.
This sounds like the issue addressed here:
http://www.python.org/doc/faq/general.html#why-are-default-values-shared-between-objects
More information about the wingide-users
mailing list