[pypy-svn] r7234 - pypy/trunk/src/pypy/tool

bob at codespeak.net bob at codespeak.net
Mon Nov 15 11:33:05 CET 2004


Author: bob
Date: Mon Nov 15 11:33:04 2004
New Revision: 7234

Modified:
   pypy/trunk/src/pypy/tool/uid.py
Log:
should be < 0



Modified: pypy/trunk/src/pypy/tool/uid.py
==============================================================================
--- pypy/trunk/src/pypy/tool/uid.py	(original)
+++ pypy/trunk/src/pypy/tool/uid.py	Mon Nov 15 11:33:04 2004
@@ -1,5 +1,5 @@
 def uid(obj):
     rval = id(obj)
-    if rval < 1:
+    if rval < 0:
         rval += 1L << 32
     return rval



More information about the Pypy-commit mailing list