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 functi
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 (
> https://pypi.python.org/py
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
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