[pypy-svn] r7609 - pypy/trunk/src/pypy/objspace/flow

hpk at codespeak.net hpk at codespeak.net
Tue Nov 23 13:21:05 CET 2004


Author: hpk
Date: Tue Nov 23 13:21:04 2004
New Revision: 7609

Modified:
   pypy/trunk/src/pypy/objspace/flow/objspace.py
Log:
comment the obnoxious warnings about "cannot unpack ... assuming 7"
we need some tracing facility! 



Modified: pypy/trunk/src/pypy/objspace/flow/objspace.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/flow/objspace.py	(original)
+++ pypy/trunk/src/pypy/objspace/flow/objspace.py	Tue Nov 23 13:21:04 2004
@@ -153,9 +153,9 @@
     def unpackiterable(self, w_iterable, expected_length=None):
         if isinstance(w_iterable, Variable) and expected_length is None:
             # XXX TEMPORARY HACK XXX TEMPORARY HACK XXX TEMPORARY HACK
-            print ("*** cannot unpack a Variable iterable "
-                   "without knowing its length,")
-            print "    assuming a list or tuple with up to 7 items"
+            #print ("*** cannot unpack a Variable iterable "
+            #       "without knowing its length,")
+            #print "    assuming a list or tuple with up to 7 items"
             items = []
             w_len = self.len(w_iterable)
             i = 0



More information about the Pypy-commit mailing list