[pypy-svn] pypy default: Fix translation with Python2.5

amauryfa commits-noreply at bitbucket.org
Thu Jan 20 19:36:55 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: 
Changeset: r41073:1e8053c60969
Date: 2011-01-20 19:01 +0100
http://bitbucket.org/pypy/pypy/changeset/1e8053c60969/

Log:	Fix translation with Python2.5

diff --git a/pypy/rpython/module/ll_win32file.py b/pypy/rpython/module/ll_win32file.py
--- a/pypy/rpython/module/ll_win32file.py
+++ b/pypy/rpython/module/ll_win32file.py
@@ -2,6 +2,7 @@
 The Windows implementation of some posix modules,
 based on the Win32 API.
 """
+from __future__ import with_statement
 
 from pypy.rpython.lltypesystem import lltype, rffi
 from pypy.translator.tool.cbuild import ExternalCompilationInfo


More information about the Pypy-commit mailing list