[pypy-commit] pypy reflex-support: can't promote strings
cfbolz
noreply at buildbot.pypy.org
Wed Jul 13 14:12:50 CEST 2011
Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: reflex-support
Changeset: r45537:f7ff4915180f
Date: 2011-07-12 18:04 +0200
http://bitbucket.org/pypy/pypy/changeset/f7ff4915180f/
Log: can't promote strings
diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py
--- a/pypy/module/cppyy/interp_cppyy.py
+++ b/pypy/module/cppyy/interp_cppyy.py
@@ -355,7 +355,7 @@
def get_method_names(self):
return self.space.newlist([self.space.wrap(name) for name in self.methods])
- @jit.elidable_promote()
+ @jit.elidable_promote('0')
def get_overload(self, name):
try:
return self.methods[name]
@@ -367,7 +367,7 @@
def get_data_member_names(self):
return self.space.newlist([self.space.wrap(name) for name in self.data_members])
- @jit.elidable_promote()
+ @jit.elidable_promote('0')
def get_data_member(self, name):
try:
return self.data_members[name]
More information about the pypy-commit
mailing list