Setting a Set to the Contents of a Global Set
<p>I'm making a program in which I use 6 global sets. Inside of various functions that are called I make temporary backup of those sets by doing something like <code>temp_set = set</code>. When I do this, the temporary set is somehow modified when I changed the original set. I assume that Python is setting <code>temp_set</code> to a pointer to the original <code>set</code> here. How can I prevent it from doing this. Rapid response would be immensely appreciated.</p>
