Just one reply seems pretty weak of a push. However, you lose nothing by submitting it on the issue tracker: https://bugs.python.org

 

I don’t have a use case for this myself, but we’ll see :)

-Emanuel

 

From: Python-Dev [mailto:python-dev-bounces+vgr255=live.ca@python.org] On Behalf Of Tim Mitchell
Sent: Thursday, October 13, 2016 9:11 PM
To: python-dev@python.org
Subject: [Python-Dev] single dispatch for instance methods

 

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-September/042466.html) and got 100% support from 1 response.  

 

Not sure if I should proceed with writing a PEP.

I am happy to do all the work if I know it will be accepted.

 

Cheers

Tim