[New-bugs-announce] [issue15435] Strange behavior when AttributeError raise inside a property get function

Cédric Krier report at bugs.python.org
Mon Jul 23 18:26:53 CEST 2012


New submission from Cédric Krier <cedric.krier at b2ck.com>:

When a AttributeError is raised inside the get function of a property and if the class has a __getattr__ method defined then this method is called.
It is strange behavior because when looking at the traceback it looks like Python doesn't find the property.

----------
components: Interpreter Core
files: test.py
messages: 166234
nosy: ced
priority: normal
severity: normal
status: open
title: Strange behavior when AttributeError raise inside a property get function
type: behavior
Added file: http://bugs.python.org/file26489/test.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15435>
_______________________________________


More information about the New-bugs-announce mailing list