]> granicus.if.org Git - python/commit
#21991: make headerregistry params property MappingProxyType.
authorR David Murray <rdmurray@bitdance.com>
Fri, 17 Oct 2014 23:30:13 +0000 (19:30 -0400)
committerR David Murray <rdmurray@bitdance.com>
Fri, 17 Oct 2014 23:30:13 +0000 (19:30 -0400)
commit685b3495e1fd9853b1ca5960db3e3cb705920d4f
tree890832e8c33e710072208220a20175442b9b29a5
parentd6967320256a65b847cfc64173d12bf818171db5
#21991: make headerregistry params property MappingProxyType.

It is unlikely anyone is using the fact that the dictionary returned
by the 'params' attribute was previously writable, but even if someone
is the API is provisional so this kind of change is acceptable (and
needed, to get the API "right" before it becomes official).

Patch by Stéphane Wirtel.
Lib/email/headerregistry.py
Lib/test/test_email/test_headerregistry.py
Misc/NEWS