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 Guido.van.Rossum, Mark.Shannon, benjamin.peterson, eltoder, gvanrossum, larry, lemburg, ncoghlan, njs, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2015-09-05.21:52:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
Well, there are important reasons why not to make  the __class__ attribute of modules mutable. 

First of all, there is no valid rationale.

How do know for sure that modifying the class of the sys or builtins module is not going to cause much the same problems the changing the class of ints did?
History
Date User Action Args
2015-09-05 21:52:20Mark.Shannonsetrecipients: + Mark.Shannon, lemburg, gvanrossum, rhettinger, ncoghlan, pitrou, vstinner, larry, benjamin.peterson, njs, eltoder, serhiy.storchaka, Guido.van.Rossum
2015-09-05 21:52:20Mark.Shannonsetmessageid: <[email protected]>
2015-09-05 21:52:20Mark.Shannonlinkissue24912 messages
2015-09-05 21:52:20Mark.Shannoncreate