Data sticking around too long

skip at pobox.com skip at pobox.com
Wed Sep 6 16:12:16 EDT 2006


    Cedric> Why is the ScannerCommand object being created with a scanList
    Cedric> that contains the data that was in the previously created
    Cedric> ScannerCommand object?

Your scanList attribute is defined at the class level and is thus shared by
all ScannerCommand instances.

Skip



More information about the Python-list mailing list