[pypy-svn] r44445 - pypy/dist/pypy/rpython/lltypesystem

cfbolz at codespeak.net cfbolz at codespeak.net
Fri Jun 22 22:17:08 CEST 2007


Author: cfbolz
Date: Fri Jun 22 22:17:07 2007
New Revision: 44445

Modified:
   pypy/dist/pypy/rpython/lltypesystem/rfficache.py
Log:
python 2.3 compat


Modified: pypy/dist/pypy/rpython/lltypesystem/rfficache.py
==============================================================================
--- pypy/dist/pypy/rpython/lltypesystem/rfficache.py	(original)
+++ pypy/dist/pypy/rpython/lltypesystem/rfficache.py	Fri Jun 22 22:17:07 2007
@@ -6,7 +6,7 @@
 import py
 import os
 from pypy.translator.tool.cbuild import build_executable
-from subprocess import PIPE, Popen
+from py.compat.subprocess import PIPE, Popen
 from pypy.tool.udir import udir
 
 def sizeof_c_type(c_typename, includes={}, compiler_exe=None):
@@ -63,7 +63,7 @@
         platforms = {}
     try:
         result = platforms[platform_key]
-        if sorted(result.keys()) != sorted(TYPES):
+        if py.builtin.sorted(result.keys()) != py.builtin.sorted(TYPES):
             # invalidate file
             platforms = {}
             raise KeyError



More information about the Pypy-commit mailing list