[New-bugs-announce] [issue9744] calling __getattribute__ with wrong instance causes hang up

Lily report at bugs.python.org
Thu Sep 2 16:48:04 CEST 2010

New submission from Lily <2ch.owner at gmail.com>:

Look for example file.

Current behaviour: one file is started, A.__getattribute__ will be called repeatedly. Entire application will not react on KeyboardInterrupt.

Expected behaviour: exception to be raised "TypeError: unbound method __getattribute__() must be called with A instance as first argument (got M instance instead)"

Platform: Windows 7 (x64)
Version: Python 2.7 (r27: 82525)

components: Interpreter Core
files: ###hanger.py
messages: 115381
nosy: modchan
priority: normal
severity: normal
status: open
title: calling __getattribute__ with wrong instance causes hang up
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file18712/###hanger.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list