[Python-ideas] RFC: Multiple Dispatch

Alexander Belopolsky alexander.belopolsky at gmail.com
Fri Aug 15 19:47:22 CEST 2014


On Fri, Aug 15, 2014 at 1:28 PM, Guido van Rossum <guido at python.org> wrote:

> Are there good uses of singledispatch in the wild even?


In one of my projects, I have a todo item to convert a homegrown
{type:func} dictionary based dispatch to singledispatch.  It has been open
for 5 months already.  I wouldn't be surprised if others had something
similar: a good-enough (and probably buggy) solution that is not bad enough
to justify adding extra dependency in 2.x or replacing with a 3.x only
solution.

Multiple dispatch is much harder to get right or even "good enough," so I
don't think singledispatch popularity or lack thereof is a good predictor
for multipledispatch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140815/845c6a3d/attachment.html>


More information about the Python-ideas mailing list