[Python-checkins] python/dist/src/Lib/idlelib NEWS.txt, 1.49.2.7, 1.49.2.8 ScriptBinding.py, 1.28, 1.28.4.1

kbk@users.sourceforge.net kbk at users.sourceforge.net
Tue Aug 23 19:39:07 CEST 2005


Update of /cvsroot/python/python/dist/src/Lib/idlelib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30883

Modified Files:
      Tag: release24-maint
	NEWS.txt ScriptBinding.py 
Log Message:
- Mac line endings were incorrect when pasting code from some browsers
  when using X11 and the Fink distribution.  Python Bug 1263656.
Modified Files:
   Tag: release24-maint
 	NEWS.txt ScriptBinding.py 


Index: NEWS.txt
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/NEWS.txt,v
retrieving revision 1.49.2.7
retrieving revision 1.49.2.8
diff -u -d -r1.49.2.7 -r1.49.2.8
--- NEWS.txt	30 Mar 2005 03:01:43 -0000	1.49.2.7
+++ NEWS.txt	23 Aug 2005 17:38:55 -0000	1.49.2.8
@@ -1,3 +1,12 @@
+What's New in IDLE 1.1.2c1?
+=========================
+
+*Release date: XX-SEP-2005*
+
+- Mac line endings were incorrect when pasting code from some browsers
+  when using X11 and the Fink distribution.  Python Bug 1263656.
+
+
 What's New in IDLE 1.1.1?
 =========================
 

Index: ScriptBinding.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/idlelib/ScriptBinding.py,v
retrieving revision 1.28
retrieving revision 1.28.4.1
diff -u -d -r1.28 -r1.28.4.1
--- ScriptBinding.py	4 Jul 2004 01:25:56 -0000	1.28
+++ ScriptBinding.py	23 Aug 2005 17:38:56 -0000	1.28.4.1
@@ -90,6 +90,7 @@
         f.close()
         if '\r' in source:
             source = re.sub(r"\r\n", "\n", source)
+            source = re.sub(r"\r", "\n", source)
         if source and source[-1] != '\n':
             source = source + '\n'
         text = self.editwin.text



More information about the Python-checkins mailing list