On 12/18/05, Jan-Ole Esleben <[EMAIL PROTECTED]> wrote:
> > I strongly doubt it. Zope does not "inspect code". There must be a
> > problem in your testing. Note that if self.a is a standard list, the
> > self.a.append(1) doesn't have any impact on the persistence mechanism or
> > transactions either.
> Please, try it out. Delete the if clause and the append in it.

No, Zope does not do any code analysis. Code gets executed or not, and
that's it. If you observe behaviour you can only explain by assuming
un-executed code to have side-effects, you will have to re-examine
your assumptions. Get a good debugger instead.

Martijn Pieters
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to