John Nagle wrote:
> On 5/4/2011 5:46 PM, harrismh777 wrote:
>> Or, as stated earlier, Python should not allow 'is' on immutable objects.
> 
>     A reasonable compromise would be that "is" is treated as "==" on
> immutable objects.

I foresee trouble testing among float(5), int(5), Decimal(5) ...

        Mel.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to