Author: Carl Friedrich Bolz <[email protected]>
Branch: remove-list-smm
Changeset: r62546:85e644c3af16
Date: 2013-03-20 14:17 +0100
http://bitbucket.org/pypy/pypy/changeset/85e644c3af16/
Log: spent some time trying to find out why stuff doesn't translate
diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py
--- a/pypy/objspace/std/listobject.py
+++ b/pypy/objspace/std/listobject.py
@@ -1666,6 +1666,9 @@
list(sequence) -> new list initialized from sequence's items""",
__new__ = interp2app(descr_new),
__hash__ = None,
+ # XXX this cannot work, within the methods the annotation of 'self' is
W_Root
+ # the reason why it works in modules is that there all classes inherit
from Wrappable
+ # see gateway.UnwrapSpec_EmitRun.visit__Wrappable vs visit__W_Root
sort = interp2app(W_ListObject.descr_sort),
index = interp2app(W_ListObject.descr_index),
append = interp2app(W_ListObject.append),
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit