1 Jun
2006
1 Jun
'06
3:53 p.m.
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. Philipp