Why do you use this temporary variable, instead of just final_message_list = final_message_list[:5]?
As python is C-based, it will first calculate the complete right-hand-side before doing assignments.