[IronPython] class member access bug + the way to fix
Roman Yakovenko
roman.yakovenko at actimize.com
Sun Aug 15 07:23:51 CEST 2004
reproducible case:
class Buggy:
class_member = 'find bug'
print Buggy.class_member
patch:
1. IronPython.Objects.ReflectedType.GetAttr
description: you don't find member within slot just
ask object whether it has such member or not.
2.IronPython.Objects.OldClass
There is a need to override GetAttr function. This
function should call to Lookup function
P.S. Code was not post because Jim could not accept
any patches right now. He is working hard to solve
this problem. Anyway if someone needs code - turn to
me and I will send patch to you
Roman.
More information about the Ironpython-users
mailing list