New submission from Benjamin Peterson: hasattr currently returns False when any exception happens in getattr. I see that this tracker I previous patches trying to fix this issue, but they were rejected because they only tried to catch attribute errors. My patch only propagates SystemExit and KeyboardInterrupt exceptions.
---------- components: Interpreter Core, Tests files: hasattr_fixes.diff keywords: patch messages: 63055 nosy: benjamin.peterson severity: normal status: open title: Fix hasattr's exception problems type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file9563/hasattr_fixes.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2196> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com