Premnath Sah wrote:
> I would like to know how i can guarantee that a new immutable object is 
> infact a new object.
> 
> Example:
> 
>  >>> a = 1
>  >>> b = 1
>  >>> a is b
> True
> 
> is what i get. i want a and b to be two different object.

I don't think there is any way to control this for the builtin types. 
Why do you care?

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to