[issue38869] Unexpectedly variable result

2019-11-20 Thread Ian Carr-de Avelon
New submission from Ian Carr-de Avelon : I can't understand why the result of changes() in the example file changes. I get: [[6.90642211e-310] [1.01702662e-316] [1.58101007e-322]] [[0.] [0.] [0.]] with an Ubuntu 14 system that has had a lot of changes made. I've checked the same happens

[issue16225] list.remove in for loop

2012-10-14 Thread Ian Carr-de Avelon
New submission from Ian Carr-de Avelon: I'm new to Python and I've hit what appears to me to be a bug, but may be a feature, so a tutorial bug. I tried to loop through the items in a list, test each and remove those which fail the test. Simplifying to illustrate: print test [1, 2, 3, 4, 5