Python dictionary doesn't have all the keys assigned, or items : <p>I created the following dictionary</p>

<pre><code>exDict = {True: 0, False: 1, 1: 'a', 2: 'b'}
</code></pre>

<p>and when I print <code>exDict.keys()</code>, well, it gives me a generator.  Ok, so I coerce it to a list, and it gives me </p>

<pre><code>[False, True, 2]
</code></pre>

<p>Why isn't 1 there?  When I print <code>exDict.items()</code> it gives me</p>

<pre><code>[(False, 1), (True, 'a'), (2, 'b')]
</code></pre>

<p>Anyone have a guess about what's going on here?  I'm stumped.</p>
