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

2018-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This appears to be an incomplete breadth-first search program. (Incomplete: the visited list, for instance, is initialized and appended, but never used.) checkvisit consists of multiple references to the path list. Each time path is appended, it is then

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

2018-10-19 Thread Ammar Askar
Ammar Askar added the comment: Echoing what Eric and Steven said: please create a more minimal example of what you think the problem is. I'm closing this ticket now since it seems like you found the issue? Feel free to re-open if you can come up with a better example or describe the

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

2018-10-16 Thread Alan
Alan 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

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

2018-10-15 Thread Eric V. Smith
Eric V. Smith added the comment: Agreed with Steven. In addition, please make sure you runnable example only uses imports from python's standard library. -- nosy: +eric.smith ___ Python tracker

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

2018-10-15 Thread Steven D'Aprano
Steven D'Aprano added the comment: I don't know what you mean by "referential integrity data loss". I have absolutely no idea how to interpret the wall of output you have provided. If there is a bug here, how do you know it is a language bug rather than a bug in your own code? We're not

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

2018-10-15 Thread Alan
New submission from Alan : Dear PythonDev, Thank you for your tremendous work in building a simpler programming language for all. As an avid user of lists, I am upset that my list cannot preserve its referential integrity in the attached pythonissue.txt file. In the following, (EXPECTED)