New submission from Florent Xicluna <florent.xicl...@gmail.com>: I found this crash while playing with proxies (thanks haypo). http://code.activestate.com/recipes/496741-object-proxying/
class MyClass(object): def __init__(self): self.pwn = None def __getattribute__(self, name): print('MyClass.__getattribute__(self, %r)' % name) return getattr('abc', name) instance = MyClass() str.strip(instance) ---------- components: Interpreter Core messages: 115446 nosy: flox, haypo priority: normal severity: normal stage: needs patch status: open title: Crash with custom __getattribute__ type: crash versions: Python 2.5, Python 2.6, Python 2.7, Python 3.1, Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9756> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com