From 5a2eb17aca6405f8a92ab3834fea76936b928b47 2013-10-18 14:16:05 From: Jonah Graham Date: 2013-10-18 14:16:05 Subject: [PATCH] Provide a name of the HistorySavingThread This name appears when using PyDev to debug and is more informative than the default "Thread-N" --- diff --git a/IPython/core/history.py b/IPython/core/history.py index 6104ba7..13fcf58 100644 --- a/IPython/core/history.py +++ b/IPython/core/history.py @@ -713,7 +713,7 @@ class HistorySavingThread(threading.Thread): stop_now = False enabled = True def __init__(self, history_manager): - super(HistorySavingThread, self).__init__() + super(HistorySavingThread, self).__init__(name="IPythonHistorySavingThread") self.history_manager = history_manager self.enabled = history_manager.enabled atexit.register(self.stop)