[Python-Dev] single dispatch for instance methods (original) (raw)
Emanuel Barry vgr255 at live.ca
Thu Oct 13 21:21:12 EDT 2016
- Previous message (by thread): [Python-Dev] single dispatch for instance methods
- Next message (by thread): [Python-Dev] single dispatch for instance methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 at python.org] On Behalf Of Tim Mitchell Sent: Thursday, October 13, 2016 9:11 PM To: python-dev at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20161014/73ed5d43/attachment.html>
- Previous message (by thread): [Python-Dev] single dispatch for instance methods
- Next message (by thread): [Python-Dev] single dispatch for instance methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]