Re: [Python-Dev] single dispatch for instance methods

2016-10-16 Thread Tim Mitchell
i, 14 Oct 2016 14:11:18 +1300 > From: Tim Mitchell > > It would be nice if the @singledispatch decorator worked on instance > methods. > I have a reference implementation on pypi that does this ( > https://pypi.python.org/pypi/methoddispatch). > > > You might be intereste

[Python-Dev] single dispatch for instance methods

2016-10-13 Thread Tim Mitchell
Hi All, It would be nice if the @singledispatch decorator worked on instance methods. I have a reference implementation on pypi that does this ( https://pypi.python.org/pypi/methoddispatch). I posted this message to python ideas a month ago ( https://mail.python.org/pipermail/python-ideas/2016-Se