IMHO, the fact that test used to pass with the Zope 2 ZPT implementation
demonstrates a bug in the very same: The local variable bag was kept when a new scope was opened, hence it could be polluted by lower scopes. Zope 3 makes a copy of the local variable bag when it starts a new scope. This is there Right Thing(tm) to do. This test is now identical to its Zope 3 equivalent.
Showing
Please register or sign in to comment