[pypy-svn] r40070 - pypy/dist/pypy/rpython/ootypesystem
antocuni at codespeak.net
antocuni at codespeak.net
Thu Mar 8 15:30:59 CET 2007
Author: antocuni
Date: Thu Mar 8 15:30:58 2007
New Revision: 40070
Modified:
pypy/dist/pypy/rpython/ootypesystem/ootype.py
Log:
all these operations could raise an exception depending of the hashing
and equality functions.
Modified: pypy/dist/pypy/rpython/ootypesystem/ootype.py
==============================================================================
--- pypy/dist/pypy/rpython/ootypesystem/ootype.py (original)
+++ pypy/dist/pypy/rpython/ootypesystem/ootype.py Thu Mar 8 15:30:58 2007
@@ -573,7 +573,7 @@
HASH_FUNC = StaticMethod([self.KEYTYPE_T], Signed)
self._GENERIC_METHODS['ll_set_functions'] = Meth([EQ_FUNC, HASH_FUNC], Void)
self._GENERIC_METHODS['ll_copy'] = Meth([], self.SELFTYPE_T)
- self._setup_methods(self._generic_types)
+ self._setup_methods(self._generic_types, can_raise=['ll_get', 'll_set', 'll_remove', 'll_contains'])
def _get_interp_class(self):
return _custom_dict
More information about the pypy-svn
mailing list