Message249607
I've filed issue 24991 to suggest reviewing the wider question of how we deal with identifying whether or not a type's instances are expected to be "truly immutable" in the Python 3.6 time frame.
For 3.5, I think Nathaniel's proposed patch restoring the assumption that non-heap types are immutable by default, and whitelisting __class__ assignment for PyModuleType specifically is a good way to resolve this with minimal code churn late in the release cycle. |
|
| Date |
User |
Action |
Args |
| 2015-09-03 06:12:28 | ncoghlan | set | recipients:
+ ncoghlan, lemburg, gvanrossum, rhettinger, pitrou, vstinner, larry, benjamin.peterson, njs, Mark.Shannon, eltoder, serhiy.storchaka, Guido.van.Rossum |
| 2015-09-03 06:12:28 | ncoghlan | set | messageid: <[email protected]> |
| 2015-09-03 06:12:28 | ncoghlan | link | issue24912 messages |
| 2015-09-03 06:12:28 | ncoghlan | create | |
|