[Python-Dev] Real-world use of Counter

Ethan Furman ethan at stoneleaf.us
Wed Nov 5 19:58:04 CET 2014


On 11/05/2014 10:09 AM, MRAB wrote:
> On 2014-11-05 16:33, Ethan Furman wrote:
>>
>> Even worse (in my opinion) is the case of an empty Counter `and`ed with an incompatible type:
>>
>> --> c &= [1, 2, 3]
>> -->
>>
>> No error is raised at all.
>
> The final example, however, is odd. I think that one should be fixed.

https://bugs.python.org/issue22801

--
~Ethan~


More information about the Python-Dev mailing list