[serious]List action affecting other list
Posted: Oct 22nd, '17, 16:19
I'm writing a program to read GIFs and using lists extensively to store the image data and the output image pixels and coming across some pecularities
Basically been building the program up - all working (or at least , all mistakes due to me)
Then I noticed one of my lists going a bit off-piste and eventually traced it to it being affected by changing the contents of a different list!
I've managed to change my code around to avoid the issue occurring but I've not come up with a simple case to show it
Just reporting it in, in case its a new phenomenon or one that's been seen before
Basically been building the program up - all working (or at least , all mistakes due to me)
Then I noticed one of my lists going a bit off-piste and eventually traced it to it being affected by changing the contents of a different list!
I've managed to change my code around to avoid the issue occurring but I've not come up with a simple case to show it
Just reporting it in, in case its a new phenomenon or one that's been seen before