text_combined: zaur shibzoukhov vjesvtgmailcom benjamin peterson dont really see bettereasier class aaa def get_x pass def set_x pass x propertyget_x set_x none x property perhaps better classmethod def funcself pass better def funcself pass func classmethodfunc christian heimes python 26 30 already new way modify properties class cobject property def xself return self_x xsetter def xself value self_x value xdeleter def xself del self_x certainly dont intent replace way definingmodifining properties first example statement application second suggested approach allow write example following way class cobject property x def getself return self_x def setself value self_x value def delself del self_x imho quite readable additional identation _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom thu 07 aug 2008 115549 0400 python3000 new member contextlib