2.5 bugs...

Handling "with"
Go over 2.5 runtests.sh exclusions
This commit is contained in:
rocky
2019-12-09 06:53:40 -05:00
parent dfac71e092
commit 1c8f885629
3 changed files with 20 additions and 5 deletions

View File

@@ -243,7 +243,7 @@ def main(in_base, out_base, compiled_files, source_files, outfile=None,
else:
buffering = 0
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', buffering)
if PYTHON_VERSION > 2.5:
if PYTHON_VERSION > 2.6:
tee = subprocess.Popen(["tee", current_outfile],
stdin=subprocess.PIPE)
os.dup2(tee.stdin.fileno(), sys.stdout.fileno())