Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.
diff --git a/Lib/idlelib/run.py b/Lib/idlelib/run.py
index c9f5010..7a662c9 100644
--- a/Lib/idlelib/run.py
+++ b/Lib/idlelib/run.py
@@ -3,7 +3,7 @@
 import time
 import socket
 import traceback
-import thread
+import _thread as thread
 import threading
 import queue