[pypy-svn] r11993 - pypy/dist/pypy/objspace/std

pedronis at codespeak.net pedronis at codespeak.net
Fri May 6 00:14:05 CEST 2005


Author: pedronis
Date: Fri May  6 00:14:04 2005
New Revision: 11993

Modified:
   pypy/dist/pypy/objspace/std/fake.py
Log:
val definedness



Modified: pypy/dist/pypy/objspace/std/fake.py
==============================================================================
--- pypy/dist/pypy/objspace/std/fake.py	(original)
+++ pypy/dist/pypy/objspace/std/fake.py	Fri May  6 00:14:04 2005
@@ -187,6 +187,7 @@
         else:
             name = space.unwrap(w_descriptor).name
             obj = space.unwrap(w_obj)
+            val = None
             try:
                 val = getattr(obj, name)  # this gives a "not RPython" warning
             except:



More information about the Pypy-commit mailing list