Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r49069:62bc56457861
Date: 2011-11-09 17:53 -0500
http://bitbucket.org/pypy/pypy/changeset/62bc56457861/
Log: This needs to be a list ot be RPython
diff --git a/pypy/interpreter/typedef.py b/pypy/interpreter/typedef.py
--- a/pypy/interpreter/typedef.py
+++ b/pypy/interpreter/typedef.py
@@ -16,11 +16,11 @@
"NOT_RPYTHON: initialization-time only"
self.name = __name
if __base is None:
- bases = ()
+ bases = []
elif isinstance(__base, tuple):
- bases = __base
+ bases = list(__base)
else:
- bases = (__base,)
+ bases = [__base]
self.bases = bases
self.hasdict = '__dict__' in rawdict
self.weakrefable = '__weakref__' in rawdict
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit