[issue24912] The type of cached objects is mutable
Eugene Toder
report at bugs.python.org
Tue Sep 1 16:38:29 CEST 2015
Eugene Toder added the comment:
Nathaniel, what if we allow creating module objects from an existing dict instead of always creating a new one. Does this solve your namespace diversion problem?
FWIW, when I discovered this change I was quite surprised this came through without a PEP. I agree that the old rules were somewhat arbitrary, but this is a significant change with non-trivial compatibility concerns.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24912>
_______________________________________
More information about the Python-bugs-list
mailing list