Commits

Anonymous committed b39f98f

Call pypy_subprocess_init when interp_subprocess.py is imported

  • Participants
  • Parent commits 6c3aed3
  • Branches py3k

Comments (0)

Files changed (1)

File pypy/module/_posixsubprocess/interp_subprocess.py

     [rffi.CArrayPtr(rffi.INT)], rffi.INT,
     compilation_info=CConfig._compilation_info_,
     threadsafe=True)
+c_init = rffi.llexternal(
+    'pypy_subprocess_init',
+    [], lltype.Void,
+    compilation_info=CConfig._compilation_info_,
+    threadsafe=True)
+
 
 class PreexecCallback:
     def __init__(self):
         return space.newtuple([space.wrap(fds[0]),
                                space.wrap(fds[1]),
                                ])
+
+c_init()