[Zope3-dev] Security: Do not compare symbolic constants with persistent data using "is"

Jim Fulton jim@zope.com
Thu, 09 Jan 2003 17:11:00 -0500


Steve Alexander wrote:
> Steve Alexander wrote:
> 
>>
>> I'll check in a fix to ZopeSecurityPolicy, but then I need to go to 
>> the pub and relax! :-)
> 
> 
> Actually, I won't check in a fix now. I think this needs a bit more 
> thought.

The ZSP needs a massive overhall. :)

I would do a quick fix if it will make some pain go away. :)

Jim

-- 
Jim Fulton           mailto:jim@zope.com       Python Powered!
CTO                  (888) 344-4332            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org