Exception handling with NameError

Peter Otten __peter__ at web.de
Sat Nov 6 06:23:37 EDT 2010


Dennis Lee Bieber wrote:

>> The problem I am having is this: If I do:
>>
>> K = []
>> ARCHIVE = []
>> ARCHIVE.append(K)
>>
>> any time K is updated (user submits new input) the content of ARCHIVE
>> is erased:
>>
> No, it is NOT erased... It is MUTATED...

But he rebinds the ARCHIVE name. 




More information about the Python-list mailing list