Message338471
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 |
|
Date |
User |
Action |
Args |
2019-03-20 13:36:48 | xtreak | set | recipients:
+ xtreak, rhettinger, remi.lapeyre, Nikita Smetanin |
2019-03-20 13:36:48 | xtreak | set | messageid: <1553089008.8.0.50628397611.issue36380@roundup.psfhosted.org> |
2019-03-20 13:36:48 | xtreak | link | issue36380 messages |
2019-03-20 13:36:48 | xtreak | create | |
|