On Mon, Apr 16, 2018 at 1:39 PM, Raymond Hettinger <raymond.hettin...@gmail.com> wrote: > > So, the API design issue that confronts us is that it would be a bit weird > and disorienting for the arithmetic operators to have two different > signatures: > > <counter> += <counter> > <counter> -= <counter> > <counter> *= <scalar> > <counter> /= <scalar> >
This needn't be a blocker. Strings can be added to strings, and strings can be multiplied by integers. If it's of practical value to multiply a Counter by a number, by all means do it. ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/