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

fijal at codespeak.net fijal at codespeak.net
Wed Jul 25 12:54:55 CEST 2007


Author: fijal
Date: Wed Jul 25 12:54:54 2007
New Revision: 45324

Modified:
   pypy/dist/pypy/module/posix/interp_posix.py
Log:
Kill additional os.uname (just one is fine)


Modified: pypy/dist/pypy/module/posix/interp_posix.py
==============================================================================
--- pypy/dist/pypy/module/posix/interp_posix.py	(original)
+++ pypy/dist/pypy/module/posix/interp_posix.py	Wed Jul 25 12:54:54 2007
@@ -450,18 +450,6 @@
         raise wrap_oserror(space, e)
 execve.unwrap_spec = [ObjSpace, str, W_Root, W_Root]
 
-def uname(space):
-    """ uname() -> (sysname, nodename, release, version, machine)
-
-Return a tuple identifying the current operating system.
-    """
-    try:
-        result = os.uname()
-    except OSError, e: 
-        raise wrap_oserror(space, e) 
-    return space.newtuple([space.wrap(ob) for ob in result])
-uname.unwrap_spec = [ObjSpace]
-
 def utime(space, path, w_tuple):
     """ utime(path, (atime, mtime))
 utime(path, None)



More information about the Pypy-commit mailing list