Bugs item #1256010, was opened at 2005-08-10 18:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1256010&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Interpreter Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: sylvain ferriol (ninou) Assigned to: Nobody/Anonymous (nobody) Summary: bug in use of __getattribute__ ? Initial Comment: hello, why it do not work: class xx(object): def __getattribute__(self,name): tab = object.__getattribute__(self,'tab') return tab[name] def f(self,a): self.a=a x=xx() xx.tab={'f':xx.f} x.f(3) unbound method f() must be called with xx instance as first argument (got int instance instead) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1256010&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com