[issue34991] variable type list [] referential integrity data loss

Alan report at bugs.python.org
Tue Oct 16 09:56:38 EDT 2018


Alan <alan.pan at sjtu.edu.cn> added the comment:

Thank you for your feedback steven.daprano and eric.smith. My first experience with a computer was 22 years ago and started as a computer science student 13 years ago. I began in the Visual Basic programming community in 2008, so I apologize as I am new to the Python community.

To summarize, the variable list[] should equal to A, but as the code runs through loops the list[] is mutable (perhaps too literally) into A', A'', A''', etc.

There is no immediate solution to this issue, but an alternative to this issue would be to use variable type dictionary {}. 

A more permanent resolution would probably require a conference presentation and/or publication.

Thanks again.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34991>
_______________________________________


More information about the Python-bugs-list mailing list