[pypy-svn] r45632 - pypy/dist/pypy/rpython/module

fijal at codespeak.net fijal at codespeak.net
Mon Aug 13 17:34:30 CEST 2007


Author: fijal
Date: Mon Aug 13 17:34:30 2007
New Revision: 45632

Modified:
   pypy/dist/pypy/rpython/module/ll_os.py
Log:
Explain (although it should be fixed)


Modified: pypy/dist/pypy/rpython/module/ll_os.py
==============================================================================
--- pypy/dist/pypy/rpython/module/ll_os.py	(original)
+++ pypy/dist/pypy/rpython/module/ll_os.py	Mon Aug 13 17:34:30 2007
@@ -25,7 +25,8 @@
     UNISTD_INCL = ['unistd.h', 'sys/types.h']
 
     def __init__(self):
-        pass   # XXX <arigo> fijal: why do I need this?
+        pass   # We need this, because we override __init__ with raising,
+        # and we want to do it on an instance level, rather than class
     
     # a simple, yet usefull factory
     def register_os_function_returning_int(self, fun, name, **kwds):



More information about the Pypy-commit mailing list