From 8d5c8b525e04553216976b09ce238813e57af290 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Wed, 10 Oct 2007 00:36:38 +0000 Subject: [PATCH] the default class attr is needed! --- Lib/idlelib/IOBinding.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index 5a1599515a4..6ab4db0f901 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py @@ -242,6 +242,7 @@ class IOBinding: eol = r"(\r\n)|\n|\r" # \r\n (Windows), \n (UNIX), or \r (Mac) eol_re = re.compile(eol) + eol_convention = os.linesep # default def loadfile(self, filename): try: