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

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.


Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to