What other languages use the same data model as Python?

Mel mwilson at the-wire.com
Thu May 5 07:44:12 EDT 2011


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.




More information about the Python-list mailing list