[issue43171] Counter not supported add in Python 3.x

2021-02-08 Thread Irit Katriel
Irit Katriel added the comment: That’s correct. This changed in python 3. See section about ordering comparisons in https://docs.python.org/3.0/whatsnew/3.0.html -- nosy: +iritkatriel resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue43171] Counter not supported add in Python 3.x

2021-02-08 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue43171] Counter not supported add in Python 3.x

2021-02-08 Thread Frank AK
New submission from Frank AK : In python 3.10, you couldn't plus two Counter instance, you will got the below tip: ``` >>> from collections import Counter >>> x={1:['a','b','c']} >>> y={1:['d','e','f'],2:['g']} >>> Counter(y) + Counter(x) Traceback (most recent call last): File "", line 1, i