Fredrik Lundh wrote:
> Sylvain Hellegouarch wrote:
> 
>> I can understand why IP or JYthon uses the same type but then the
>> results don't seem to be consistent with CPython. I might misunderstand
>> something here. Alternatively I assume using 'is' implies such issues.
> 
> you're confusing CPython implementation details with the language 
> specification.
> Python makes very few guarantees about object identities; the specification 
> says
> that there must be exactly one None object, and the type object for
> two objects of
> the same type is the same object (obviously), but that's about it.

I see. My bad then.
I assume then that people like me will have to be careful between those
small differences which are not entirely valid cases.

Thanks for the heads up.
- Sylvain
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to