Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

I would defer to Raymond at this point and would prefer keeping current 
__iadd__ behavior and . See also issue23509 that discussed about C  
implementation of _keep_positive and some other optimizations.

> Counter(a=-1) + Counter(a=-2) produces empty Counter() instead of 
> Counter(a=-2) which is unexpected, but 

I think you meant Counter(a=-3) here

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36380>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to