[Python-checkins] r77002 - in python/branches/py3k: PCbuild/build_ssl.py

martin.v.loewis python-checkins at python.org
Tue Dec 22 09:54:53 CET 2009


Author: martin.v.loewis
Date: Tue Dec 22 09:54:52 2009
New Revision: 77002

Log:
Merged revisions 76989 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r76989 | martin.v.loewis | 2009-12-21 20:25:56 +0100 (Mo, 21 Dez 2009) | 1 line
  
  Drop 2.4 compatibility.
........


Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/PCbuild/build_ssl.py

Modified: python/branches/py3k/PCbuild/build_ssl.py
==============================================================================
--- python/branches/py3k/PCbuild/build_ssl.py	(original)
+++ python/branches/py3k/PCbuild/build_ssl.py	Tue Dec 22 09:54:52 2009
@@ -102,11 +102,8 @@
     """
     if not os.path.isfile(m32):
         return
-    # 2.4 compatibility
-    fin = open(m32)
-    if 1: # with open(m32) as fin:
-        fout = open(makefile, 'w')
-        if 1: # with open(makefile, 'w') as fout:
+    with open(m32) as fin:
+        with open(makefile, 'w') as fout:
             for line in fin:
                 line = line.replace("=tmp32", "=tmp64")
                 line = line.replace("=out32", "=out64")


More information about the Python-checkins mailing list