[issue22766] collections.Counter's in-place operators should return NotImplemented for unsupported types

Jim Jewett report at bugs.python.org
Thu Nov 6 16:21:38 CET 2014


Jim Jewett added the comment:

I wish there were an APIMismatchError superclass to unify
(AttributeError, TypeError).  But the wart probably isn't enough to
justify the surgery.

On Thu, Nov 6, 2014 at 8:48 AM, Serhiy Storchaka <report at bugs.python.org> wrote:
>
> Serhiy Storchaka added the comment:
>
>> I've posted to python-list and python-dev.  I'll report back here the findings, if any.
>
> http://comments.gmane.org/gmane.comp.python.devel/150073
>
> ----------
> nosy: +serhiy.storchaka
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue22766>
> _______________________________________

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22766>
_______________________________________


More information about the Python-bugs-list mailing list