Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Attributes and methods are resolved at class or instance creation #26

pyjsorg opened this Issue Apr 27, 2012 · 0 comments


None yet
1 participant

pyjsorg commented Apr 27, 2012

All attributes an methods are resolved at class or instance creation (the 'proto' translator). Python does the resolving at access time.

class Foo(object):
def delete_me(self):

class Foo1(Foo):

delattr(Foo(), 'delete_me') should raise an AttributeError
delattr(Foo1, 'delete_me') should raise an AttributeError

Original issue: http://code.google.com/p/pyjamas/issues/detail?id=697 (March 05, 2012 10:37:58)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment