Hello,
just noticed this:
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright" , "credits" or "license" for more information.
{1: 2}
{True: False}
{1: False}
This must be because
True
but it still doesn't feel exactly right. Would it be worth submitting a bug?
Cheers,
.peke
just noticed this:
Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright" , "credits" or "license" for more information.
>>{1: 2}
>>{True: False}
>>{1: 2, True: False}
This must be because
>>True == 1 and True in {1: 2}
but it still doesn't feel exactly right. Would it be worth submitting a bug?
Cheers,
.peke
Comment