R. David Murray added the comment:

The principle example is the 'params' dictionary in headerregistry.  Currently 
it gets recreated every time you access that attribute.  You can *apparently* 
change it, but that has no real effect.  Probably the computed value should be 
cached the first time the attribute is accessed, and a MappingProxy over the 
cached value returned.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21991>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to