Author: Armin Rigo <[email protected]> Branch: gc-minimark-pinning Changeset: r55057:15e167bb10e7 Date: 2012-05-12 17:47 +0200 http://bitbucket.org/pypy/pypy/changeset/15e167bb10e7/
Log: Python 2.5 compat diff --git a/pypy/rpython/extfuncregistry.py b/pypy/rpython/extfuncregistry.py --- a/pypy/rpython/extfuncregistry.py +++ b/pypy/rpython/extfuncregistry.py @@ -1,4 +1,5 @@ # this registry uses the new interface for external functions +from __future__ import with_statement from pypy.rpython.extfunc import register_external diff --git a/pypy/rpython/module/ll_os.py b/pypy/rpython/module/ll_os.py --- a/pypy/rpython/module/ll_os.py +++ b/pypy/rpython/module/ll_os.py @@ -1,6 +1,7 @@ """ Low-level implementations for the external functions of the 'os' module. """ +from __future__ import with_statement # Implementation details about those functions # might be found in doc/rffi.txt _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
