[Python-3000-checkins] r58402 - python/branches/py3k/Lib/idlelib/IOBinding.py

kurt.kaiser python-3000-checkins at python.org
Wed Oct 10 02:36:38 CEST 2007


Author: kurt.kaiser
Date: Wed Oct 10 02:36:38 2007
New Revision: 58402

Modified:
   python/branches/py3k/Lib/idlelib/IOBinding.py
Log:
the default class attr is needed!


Modified: python/branches/py3k/Lib/idlelib/IOBinding.py
==============================================================================
--- python/branches/py3k/Lib/idlelib/IOBinding.py	(original)
+++ python/branches/py3k/Lib/idlelib/IOBinding.py	Wed Oct 10 02:36:38 2007
@@ -242,6 +242,7 @@
 
     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:


More information about the Python-3000-checkins mailing list