<div class="gmail_quote">On Sun, Jan 1, 2012 at 10:28 PM, Jim Jewett <span dir="ltr">&lt;<a href="mailto:jimjjewett@gmail.com">jimjjewett@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Given the wording requiring a real dictionary, I would have assumed</div>
that it was OK (if perhaps not sensible) to do pointer arithmetic and<br>
access the keys/values/hashes directly.  (Though if the breakage was<br>
between python versions, I would feel guilty about griping too<br>
loudly.)<br></blockquote><div><br></div><div>If you&#39;re going to be a language lawyer about it, I would simply point out that all the spec requires is that &quot;type(env) is dict&quot; -- it says nothing about how Python defines &quot;type&quot; or &quot;is&quot; or &quot;dict&quot;.  So, you&#39;re on your own with that one. ;-)</div>
</div>