[pypy-svn] r36614 - pypy/dist/pypy/annotation

fijal at codespeak.net fijal at codespeak.net
Fri Jan 12 19:51:06 CET 2007


Author: fijal
Date: Fri Jan 12 19:50:55 2007
New Revision: 36614

Modified:
   pypy/dist/pypy/annotation/signature.py
Log:
(samuele, fijal) - Fix the SomeList instance to work in more cases.


Modified: pypy/dist/pypy/annotation/signature.py
==============================================================================
--- pypy/dist/pypy/annotation/signature.py	(original)
+++ pypy/dist/pypy/annotation/signature.py	Fri Jan 12 19:50:55 2007
@@ -26,8 +26,7 @@
     objects of type t."""
     if isinstance(t, list):
         assert len(t) == 1, "We do not support type joining in list"
-        listdef = ListDef(None, annotation(t[0]))
-        listdef.listitem.dont_change_any_more = False
+        listdef = ListDef(None, annotation(t[0]), mutated=True, resized=True)
         return SomeList(listdef)
     elif isinstance(t, tuple):
         return SomeTuple(tuple([annotation(i) for i in t]))



More information about the Pypy-commit mailing list