[issue2474] fset not working

Ryan Sturmer report at bugs.python.org
Mon Mar 24 19:27:14 CET 2008


New submission from Ryan Sturmer <ryansturmer at gmail.com>:

Using the attached module, There's an asymmetry between fget and fset in
my properties.  fget works fine, but fset isn't getting called.  I'm
fairly sure I'm creating the property correctly.  Try the following code:

a = EWAssayIntParam('myparam', 4)
a.value
a.value = 10
a.value

I've seen this same issue flare up and die out several times in the
tracker, is this a commonly made programming mistake rather than a bug?

----------
components: None
files: params.py
messages: 64427
nosy: ryansturmer
severity: normal
status: open
title: fset not working
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file9840/params.py

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2474>
__________________________________


More information about the Python-bugs-list mailing list