Problem with Property

André Malo auch-ich-m at g-kein-spam.com
Sat Feb 25 09:07:34 EST 2006


* none wrote:

> classMyObject:
[...]

> As you can see, the _getProperty() method gets called properly when I do
>   'o.value'  but 'o.value = 123' does not seem to use the property
> stucture.   I can't figure out why 'o.value=123' does not call
> _setProperty()
> 
> Any ideas?

property only works as intended with new style classes.

nd
-- 
>>> Muschelflucht-Zusatzeinrichtung.
>> Shell-Escape ist ja noch klar, aber `Zusatzeinrichtung'?
> extension?
Feature.                          -- gefunden in de.org.ccc



More information about the Python-list mailing list