Python: Counter not taking class name of namedtuple into account ... how do I fix?
<pre><code>&gt;&gt;&gt; Employee = namedtuple("Employee", "name")
&gt;&gt;&gt; Patient = namedtuple("Patient", "name")
&gt;&gt;&gt; e = Employee("Mike")
&gt;&gt;&gt; p = Patient("Mike")
&gt;&gt;&gt; Counter([e, p])
Counter({Employee(name='Mike'): 2})
</code></pre>

<p>Why doesn't the Counter differentiate between the two classes of namedtuple?</p>
