Following code behaves differently from CPython:

class NoAttribute(object):
    def __getattr__(self, name):
        raise Exception

obj = NoAttribute()
print hasattr(obj, 'attribute')

Seo Sanghyeon
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to