On Fri, Jul 12, 2013 at 10:54 AM, Barry Warsaw <barry@python.org> wrote:
>(Independent of this idea, it would actually be nice if the operator module
>had a dictionary mapping from op symbols to names, like
>operator.by_symbol["+="] giving operator.iadd)

...but this is a neat idea.


This is neat, but I don't really see much use beyond implementing things like  fold("+=", ..) that you've just rejected.