[Zope-dev] _p_deactivate() and _v_ variables?
Dieter Maurer
dieter at handshake.de
Thu Oct 9 14:52:35 EDT 2003
Chris Withers wrote at 2003-10-8 21:22 +0100:
> Casey Duncan wrote:
>
> > I would argue that a better plan would be to only use _v_ vars for completely
> > disposable data only. The application should expect that this values will be
> > gone at any random time, not just at transaction boundaries.
>
> I agree with this. How do we go about find code that uses the assumption that
> _v_ stuff won't change unless it's at a transaction boundary?
This will invalidate many current uses:
* use for database connections
* use for skin data
* ...
Dieter
More information about the Zope-Dev
mailing list