Comment 15 for bug 456870

Revision history for this message
Edward K. Ream (edreamleo) wrote :

> 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