Python -- var getting set without me setting it, I may be losing my mind
<p>This should be so simple, but I just can't see what's going on here:</p>

<pre><code>def playlist_item_added(self, _):
        temp_playlist = self.playlist_olv.GetObjects()
        if not self.mirror_playlist:
            self.mirror_playlist = temp_playlist
            for item in self.mirror_playlist:
                self.vlc_playlist.add_media(u.http_space_escape(item["loc"]))
            self.vlc_player.set_media_list(self.vlc_playlist)
            print "if"
            print self.mirror_playlist
        else:
            print "else"
            print self.mirror_playlist
            for index, item in enumerate(temp_playlist):
                if not item == self.mirror_playlist[index]:
                    media = vlc.Media(u.http_space_escape(item["loc"]))
                    #self.mirror_playlist.insert(index, item)
                    self.vlc_playlist.lock()
                    self.vlc_playlist.insert_media(media, index)
                    self.vlc_playlist.unlock()
</code></pre>

<p>The problem is <code>self.mirror_playlist</code> seems to be getting added to without me asking.  I just can't see why.  This is an event handler, when something gets added to my list, it comes here.  It checks if <code>self.mirror_playlist</code> has been set already -- if not, it sets it, no problem.  If it is set already, it adds to it (the else block).</p>

<p>Notice the prints I put in.  When I add the first item, everything goes as planned.  When I add the second item, the <code>print self.mirror_playlist</code> just after the else prints that the second item has already been added to it.  Further, I even commented out the part of the code that inserts into that list as you can see in the middle of the <code>else</code> block.</p>

<p>I checked every last line of code and the <code>mirror_playlist</code> attribute isn't mentioned anywhere else except in this function and in the constructor where it sets to <code>None</code>.  I double-checked the indents, I double-checked with prints that the flow is exactly how it should be (it is).  How is this variable getting added to?  I'm almost certain it's something so simple that I can't see it.</p>