From: Kurt B. Kaiser Date: Wed, 10 Oct 2007 00:36:38 +0000 (+0000) Subject: the default class attr is needed! X-Git-Tag: v3.0a2~341 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d5c8b525e04553216976b09ce238813e57af290;p=thirdparty%2FPython%2Fcpython.git the default class attr is needed! --- diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index 5a1599515a43..6ab4db0f9015 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: