[issue2474] fset not working

2008-03-24 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: It's not a bug in Python. Properties, being descriptors, only work fully with new-style classes. -- nosy: +georg.brandl resolution: -> wont fix status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue2474] fset not working

2008-03-24 Thread Paul Pogonyshev
Paul Pogonyshev <[EMAIL PROTECTED]> added the comment: This is caused by EWAssayParam being an old-style class. Dunno if it is a bug in Python or not. -- nosy: +_doublep __ Tracker <[EMAIL PROTECTED]> __

[issue2474] fset not working

2008-03-24 Thread Ryan Sturmer
New submission from Ryan Sturmer <[EMAIL PROTECTED]>: 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('mypar