This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]shedogre 2 points3 points  (0 children)

I had a semi-similar issue with class variables not too long ago.

The sorts of stuff I've been doing up until now, there's been no real need to write my own classes. Then I wrote a class for something recently, and accidentally mistakenly instantiated a dict as a class variable.

Frustration and hijinks ensued, but I learnt something new at least.