[Python-Dev] PEP 443 - Single-dispatch generic functions (including ABC support) (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Fri May 31 09:00:45 CEST 2013


On Fri, May 31, 2013 at 3:13 PM, Chris McDonough <chrism at plope.com> wrote:

On Fri, 2013-05-31 at 03:05 +0200, Łukasz Langa wrote:

On 31 maj 2013, at 01:51, Łukasz Langa <lukasz at langa.pl> wrote:

Back to the point, though. I don't feel we should complicate the code, tests and documentation by introducing special handling for methods. In terms of pure type-driven single dispatch, we have a solution that was intentionally simple from the get-go. The next step will be predicate dispatch anyway ;)) What do you think? +1. It's incredibly useful and easy to document as-is.

Yep, I suggest asking Benjamin for pronouncement - this looks great to me.

I should finally be able to clean up the pkgutils.walk_packages docs by explaining how to register new handlers for custom importers :)

Cheers, Nick.

-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia



More information about the Python-Dev mailing list