[IronPython] unicode object type

Sylvain Hellegouarch sh at defuze.org
Sat Dec 2 10:04:14 CET 2006


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



More information about the Ironpython-users mailing list