[pypy-svn] r53472 - pypy/dist/pypy/module/posix

arigo at codespeak.net arigo at codespeak.net
Sun Apr 6 18:30:17 CEST 2008


Author: arigo
Date: Sun Apr  6 18:30:15 2008
New Revision: 53472

Modified:
   pypy/dist/pypy/module/posix/app_posix.py
Log:
Add an XXX.


Modified: pypy/dist/pypy/module/posix/app_posix.py
==============================================================================
--- pypy/dist/pypy/module/posix/app_posix.py	(original)
+++ pypy/dist/pypy/module/posix/app_posix.py	Sun Apr  6 18:30:15 2008
@@ -113,7 +113,7 @@
                 else:
                     os.dup2(read_end, 0)
                     os.close(write_end)
-                for i in range(3, MAXFD):
+                for i in range(3, MAXFD):    # XXX this loop can be slow
                     try_close(i)
                 cmd = ['/bin/sh', '-c', command]
                 os.execvp(cmd[0], cmd)



More information about the Pypy-commit mailing list