[pypy-svn] r15492 - pypy/extradoc/sprintinfo
pedronis at codespeak.net
pedronis at codespeak.net
Sun Jul 31 23:43:20 CEST 2005
Author: pedronis
Date: Sun Jul 31 23:43:18 2005
New Revision: 15492
Modified:
pypy/extradoc/sprintinfo/Hildes_to_Heidel.txt
Log:
found out that stroring instances bound methods on instances confuses the annotator resulting in blocked blocks
Modified: pypy/extradoc/sprintinfo/Hildes_to_Heidel.txt
==============================================================================
--- pypy/extradoc/sprintinfo/Hildes_to_Heidel.txt (original)
+++ pypy/extradoc/sprintinfo/Hildes_to_Heidel.txt Sun Jul 31 23:43:18 2005
@@ -43,6 +43,32 @@
- support producing a windows binary, choose a suitable compiler
+other issues
+---------------------
+
+storing bound method on instances confuses the annotator (we can probably live with this limitation
+right now, I'm not sure but it may require a large refactoring to support this)
+
+>>> class H:
+... def h():
+... pass
+...
+>>> class C:
+... def __init__(self, func):
+... self.f = func
+... def do(self):
+... self.f()
+...
+>>> def g():
+... h = H()
+... c = C(h.h)
+... c.do()
+...
+>>> t=Translator(g)
+>>> t.annotate([])
+
+
+
additional wild ideas
---------------------
More information about the Pypy-commit
mailing list