December 2019

Python changing attribute mystery. Help?

December 7, 2019 | 0 Comments

Python peeps: any idea why this attribute changes value when I re-examine it? I am using PyCharm, but the calculation is weird even in Jupyter. It doesn’t just seem to be the debugger, running it in Jupyter gives the wrong value (just {'x'}, instead of {'x', 'y'}). The type appears to be a dictionary object … Continue reading Python changing attribute mystery. Help? [...Read more...]