In python, inside a class, it appears that when I save a "self" variable into another one, if I edit the new variable, the "self" is also edited:
    undropped_lines = self.flagged_lines
    print self.flagged_lines
    del undropped_lines[0]
    print self.flagged_lines
How should one avoid this trait in the code?
 
     
    