Discovered by exarkun. following diff breaks translation
:.
Index: ../../module/posix/__init__.py
===================================================================
--- ../../module/posix/__init__.py (revision 45246)
+++ ../../module/posix/__init__.py (working copy)
@@ -83,6 +83,9 @@
# interpleveldefs['uname'] = 'interp_posix.uname'
if hasattr(os, 'ttyname'):
interpleveldefs['ttyname'] = 'interp_posix.ttyname'
+ if hasattr(os, 'setsid'):
+ interpleveldefs['xxx'] = 'interp_posix.xxx'
+
for name in w_star:
if hasattr(os, name):
interpleveldefs[name] = 'interp_posix.' + name
Index: ../../module/posix/interp_posix.py
===================================================================
--- ../../module/posix/interp_posix.py (revision 45246)
+++ ../../module/posix/interp_posix.py (working copy)
@@ -499,6 +499,22 @@
raise OperationError(space.w_TypeError, space.wrap(msg))
utime.unwrap_spec = [ObjSpace, str, W_Root]
+def xxx(space):
+ """xxx() -> pid
+
+ Stuff
+ """
+ return 3
+xxx.unwrap_spec = [ObjSpace]
+
+#def setsid(space):
+# """setsid() -> pid
+#
+# Creates a new session with this process as the leader.
+# """
+# return 3
+#setsid.unwrap_spec = [ObjSpace]
+
def declare_new_w_star(name):
if name in w_star_returning_int:
def WSTAR(space, status):
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev