[Zope-dev] Why is it _setObject(), and why is it undocumented

Florent Guillaume fg@nuxeo.com
Wed, 5 Feb 2003 12:54:16 +0000 (UTC)


Dieter Maurer  <dieter@handshake.de> wrote:
> I think an additional reason for the "_" in the name of
> "_setObject" is to prevent acquisition.
> 
> With acquisition, you may not set the object where you think you will.

Ah, that's a very good argument.

(Another reason why implicit acquisition is bad... Long live Zope 3!)

Florent
-- 
Florent Guillaume, Nuxeo (Paris, France)
+33 1 40 33 79 87  http://nuxeo.com  mailto:fg@nuxeo.com