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 Mark.Shannon
Recipients Mark.Shannon, benjamin.peterson, larry, njs, pitrou, serhiy.storchaka
Date 2015-08-30.11:43:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440934999.87.0.943992144165.issue24912@psf.upfronthosting.co.za>
In-reply-to
Content
Please revert c0d25de5919e.
Breaking the interpreter in order to facilitate some obscure use case is unacceptable.

If you want to do fancy stuff with modules, fine. Take a look at the source of the six module 
https://bitbucket.org/gutworth/six/src/cd1e81d33eaf3d6944f859c2aa7d5d3f515013c8/six.py?at=default for some tips.

I think immutability is a fundamental property of an object. The "consenting" adults ideas is fine for accessibility. However, making previously immutable object mutable forces developers to use lots of defensive copying and causes obscure bugs (like this one).

I do not regard the immutable of numbers as an historical accident, but as vitally important for any sort of numerical reasoning.
Just take a look at a language with mutable strings to see the problems that causes.
History
Date User Action Args
2015-08-30 11:43:19Mark.Shannonsetrecipients: + Mark.Shannon, pitrou, larry, benjamin.peterson, njs, serhiy.storchaka
2015-08-30 11:43:19Mark.Shannonsetmessageid: <1440934999.87.0.943992144165.issue24912@psf.upfronthosting.co.za>
2015-08-30 11:43:19Mark.Shannonlinkissue24912 messages
2015-08-30 11:43:19Mark.Shannoncreate