Is behavior of += intentional for int?

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Mon Aug 31 19:31:14 EDT 2009


On Mon, 31 Aug 2009 10:21:22 -0700, zaur wrote:

> As a result of this debate is not whether we should conclude that there
> should be two types of integers in python: 1) immutable numbers, which
> behave as constant value; 2) mutable numbers, which behave as variable
> value?

What can you do with mutable numbers that you can't do with immutable 
ones, and why do you want to do it?



-- 
Steven



More information about the Python-list mailing list