Issue #19426: Fixed the opening of Python source file with specified encoding.
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py
index 2eae11b..f6de440 100644
--- a/Lib/idlelib/IOBinding.py
+++ b/Lib/idlelib/IOBinding.py
@@ -125,7 +125,7 @@
     Raise LookupError if the encoding is declared but unknown.
     """
     # Only consider the first two lines
-    str = str.split("\n", 2)[:2]
+    lst = str.split("\n", 2)[:2]
     for line in lst:
         match = coding_re.match(line)
         if match is not None:
diff --git a/Misc/NEWS b/Misc/NEWS
index c8cf585..f3b9799 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@
 Library
 -------
 
+IDLE
+----
+
+- Issue #19426: Fixed the opening of Python source file with specified encoding.
+
 
 What's New in Python 2.7.6 release candidate 1?
 ===============================================