> Thanks EKR.
You're welcome. Tracking down this bug was fun.
> Myself, I think the code really does intend to use a different variable __proxied but the call to hasattr() causes recursion. I just changed it as follows:
def _set_proxied(const): return _CONST_PROXY[const.value.__class__]
This works for me, and it seems like a more elegant solution.
Edward
> Thanks EKR.
You're welcome. Tracking down this bug was fun.
> Myself, I think the code really does intend to use a different variable __proxied but the call to hasattr() causes recursion. I just changed it as follows:
def _set_proxied( const): PROXY[const. value._ _class_ _]
return _CONST_
This works for me, and it seems like a more elegant solution.
Edward