
It has over 25k downloads from PyPI per month. It’s used in OpenStack’s Nova. It’s used at Facebook as part of a deadline based, resource aware, dependency based, fault tolerant scheduler. -- Best regards, Łukasz Langa WWW: http://lukasz.langa.pl/ Twitter: @llanga IRC: ambv on #python-dev On Aug 15, 2014, at 11:01 AM, Guido van Rossum <guido@python.org> wrote:
Please do write about non-toy examples!
On Fri, Aug 15, 2014 at 10:55 AM, Matthew Rocklin <mrocklin@gmail.com> wrote: I've definitely seen homegrown solutions like Alexander talks about in a variety of projects. It has popped up a few times in SymPy.
My implementation was influenced somewhat by Julia's solution which seems fairly sober. Multiple dispatch has demonstrated value in that community.
I used the multipledispatch library in a few of my projects. I can provide examples of where it's been helpful if desired.
On Fri, Aug 15, 2014 at 10:47 AM, Alexander Belopolsky <alexander.belopolsky@gmail.com> wrote:
On Fri, Aug 15, 2014 at 1:28 PM, Guido van Rossum <guido@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.
-- --Guido van Rossum (python.org/~guido) _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/