<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/05/2012 01:59 PM, Devin
Jeanpierre wrote:<br>
</div>
<blockquote
cite="mid:CABicbJLK=3444Hh1Z5Ut0ZfvTS20NzbtJRooDB-2GAJcZody2A@mail.gmail.com"
type="cite">
<pre wrap="">I've never understood why locals() returned a mutable dictionary
either, except that Python has no immutable dictionary type.
</pre>
</blockquote>
<br>
Ah, but these days it has types.MappingProxyType which provides a
read-only wrapper around another mapping type. Perhaps that should
be employed here.<br>
<br>
<br>
<i>/arry</i><br>
</body>
</html>