You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the attached file for the actual problem code & comments.
This is from unmodified SVN head TinyPy.
I would suggest that an exception is made for self.*:
*.__get__(x) should never be called if the caller is a function from the
class itself (caller == self).
It should ONLY be called if caller is from another class or global, unless
it is called explocitly (as in, "self.__get__(x)" actually written in code).
The same holds for __set__(x, v), of course.
I will try to make a patch for this, but no promises... I am not very
aquainted with the TinyPy internals (yet).
Original issue reported on code.google.com by [email protected] on 8 May 2010 at 2:45
Original issue reported on code.google.com by
[email protected]
on 8 May 2010 at 2:45Attachments:
The text was updated successfully, but these errors were encountered: