[Zope-CMF] Re: [CMF 2.1] FSPageTemplate & Unicode

Martin Aspeli optilude at gmx.net
Sat Jan 6 15:52:11 EST 2007


Hanno Schlichting wrote:

> PhiliKON some time ago suggested that Five should wrap the utilities
> eventually but nobody followed up on that idea. 

Philipp also has some ideas (not too far off completion, I believe) that 
may remove some of the acquisition intermingling. I'm not sure they'd 
apply here.

> Personally I have no
> clue how Acquisition and security are intermingled in Zope 2, so cannot
> suggest any reasonable behavior here.

Spend some time in AccessControl/ImplPython.py. :)

> Ah yep, you are of course right. My main point was probably that it
> shouldn't rely on the request (unless passed in explicitly as a method
> argument).

And sometimes we have methods that can legitimately take a 'context' 
parameter. Quite often, this is because we were really after a view, 
though. For example, most of PloneTool.py is a hodge-podge of random 
things that were needed in page templates and Script (Python)'s but that 
people wanted in filesystem code.

Martin



More information about the Zope-CMF mailing list