[Zope3-dev] style: property(getX, setX) vs. explicit getters and setters

Guido van Rossum guido@python.org
Tue, 18 Jun 2002 17:13:22 -0400


> With 2.2, of course, we have the ability to define a given pair of
> getter and setter as if they were a simple property.  What is the
> Zope3 style opinion on this?

Jim has just changed request.getResponse() into a property,
request.response, so I think properties are preferred.

--Guido van Rossum (home page: http://www.python.org/~guido/)