Florent Guillaume wrote:
> Log message for revision 68446:
> Make python security policy work with a boolean __aatus__
Wow, I wasn't aware that only ints were possible. Shouldn't this be
backported to Zope 2.9 as well? I consider it a bug when an 1 won't be
exchangeable for True in something that's apparently either true of false.
By the way, a test for isinstance(__aatus__, int) would also be true for
booleans because bool inherits from int.
Zope-Dev maillist - Zope-Dev@zope.org
** No cross posts or HTML encoding! **
(Related lists -