This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim.peters
Recipients
Date 2004-10-27.00:51:10
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=31435

Na, it's optimization, all right -- there's no conceivable reason 
other than optimization to try to mutate an immutable object, 
esp. one that's already been visible to user code.

But that's OK.  The more optimizations we do, the more 
optimization bugs we'll get.  We'd be the only language 
implementation project in the history of the universe to avoid 
that otherwise.  Don't be so touchy <wink>.

I'll note that the string object invariants aren't clearly written 
down in one place.  One use for making invariants explicit is 
as a sanity checklist when doing optimizations.
History
Date User Action Args
2007-08-23 14:27:04adminlinkissue1054139 messages
2007-08-23 14:27:04admincreate