mirror of https://github.com/python/cpython.git
Drop 2.4 compatibility.
This commit is contained in:
parent
2ba1e9ceb8
commit
c3f5ca10e6
|
@ -102,11 +102,8 @@ def create_makefile64(makefile, m32):
|
||||||
"""
|
"""
|
||||||
if not os.path.isfile(m32):
|
if not os.path.isfile(m32):
|
||||||
return
|
return
|
||||||
# 2.4 compatibility
|
with open(m32) as fin:
|
||||||
fin = open(m32)
|
with open(makefile, 'w') as fout:
|
||||||
if 1: # with open(m32) as fin:
|
|
||||||
fout = open(makefile, 'w')
|
|
||||||
if 1: # with open(makefile, 'w') as fout:
|
|
||||||
for line in fin:
|
for line in fin:
|
||||||
line = line.replace("=tmp32", "=tmp64")
|
line = line.replace("=tmp32", "=tmp64")
|
||||||
line = line.replace("=out32", "=out64")
|
line = line.replace("=out32", "=out64")
|
||||||
|
|
Loading…
Reference in New Issue