Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-10 Thread Charlie Clark
Am 01.12.2008 um 16:49 schrieb Tres Seaver: > 'context' is the canonical name for the object through which a > script or > templated was acquired (its aq_parent, in fact); 'here' is a > long-deprecated alias for 'context'. 'context' is like the 'self' > binding of a normal Python method. > >

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-01 Thread Dieter Maurer
Ross Patterson wrote at 2008-11-30 11:25 -0800: > ... >I'm not really up on the historical considerations, but I'm definitely >in favor of "context" and definitely opposed to "object". "object" is >too generic, the request is an object after all, everything is an >object. "context" reads more lik

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-01 Thread Ross Patterson
Tres Seaver <[EMAIL PROTECTED]> writes: > yuppie wrote: >> Hi! >> >> >> Laurence Rowe wrote: >>> yuppie wrote: David Glick wrote: > Does anyone have an objection to me adding 'context' as an alias for > 'object' in the expression context that is built when executing CMF > acti

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-01 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 yuppie wrote: > Hi! > > > Laurence Rowe wrote: >> yuppie wrote: >>> David Glick wrote: Does anyone have an objection to me adding 'context' as an alias for 'object' in the expression context that is built when executing CMF action ex

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-12-01 Thread yuppie
Hi! Laurence Rowe wrote: > yuppie wrote: >> David Glick wrote: >>> Does anyone have an objection to me adding 'context' as an alias for >>> 'object' in the expression context that is built when executing CMF >>> action expressions (in getExprContext in CMFCore/Expression.py)? This >>> would r

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-30 Thread Martin Aspeli
Wichert Akkerman wrote: > Previously Laurence Rowe wrote: >> yuppie wrote: >>> David Glick wrote: Does anyone have an objection to me adding 'context' as an alias for 'object' in the expression context that is built when executing CMF action expressions (in getExprContext in CMFCor

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-30 Thread Wichert Akkerman
Previously Laurence Rowe wrote: > yuppie wrote: > > David Glick wrote: > >> Does anyone have an objection to me adding 'context' as an alias for > >> 'object' in the expression context that is built when executing CMF > >> action expressions (in getExprContext in CMFCore/Expression.py)? This >

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-30 Thread Ross Patterson
yuppie <[EMAIL PROTECTED]> writes: > David Glick wrote: >> Does anyone have an objection to me adding 'context' as an alias for >> 'object' in the expression context that is built when executing CMF >> action expressions (in getExprContext in CMFCore/Expression.py)? This >> would remove one co

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-30 Thread Laurence Rowe
yuppie wrote: > David Glick wrote: >> Does anyone have an objection to me adding 'context' as an alias for >> 'object' in the expression context that is built when executing CMF >> action expressions (in getExprContext in CMFCore/Expression.py)? This >> would remove one common source of minor c

Re: [Zope-CMF] adding 'context' as an alias for 'object' in action expressions

2008-11-29 Thread yuppie
David Glick wrote: > Does anyone have an objection to me adding 'context' as an alias for > 'object' in the expression context that is built when executing CMF > action expressions (in getExprContext in CMFCore/Expression.py)? This > would remove one common source of minor confusion for beginni