functions, list, default parameters

Paul Rudin paul.nospam at rudin.co.uk
Tue Nov 2 13:45:46 EDT 2010


Terry Reedy <tjreedy at udel.edu> writes:

> Suppose I write an nasty C extension that mutates tuples. What then
> would be illegal about...

Depends on exactly what we mean by legal. If immutability is part of the
language spec (rather than an artifact of a particular implementation)
then a compiler could assume immutability.






More information about the Python-list mailing list