Following code behaves differently from CPython:
class NoAttribute(object):
def __getattr__(self, name):
raise Exceptionobj = NoAttribute() print hasattr(obj, 'attribute') Seo Sanghyeon _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
