An interesting idea, however from my point of view in methoddispatch there
is no dispatching on the self argument at all.
Overriding methods simply allows your subclass to have a different dispatch
table for a method than the super class. This happens when the class is
created, not when the
On Oct 14, 2016, at 8:49 AM, python-dev-requ...@python.org wrote:
> Date: Fri, 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
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...@python.org] On
Behalf Of Tim