[Python-Dev] PEP 443 - Single-dispatch generic functions

Nick Coghlan ncoghlan at gmail.com
Fri May 24 13:55:09 CEST 2013


On Fri, May 24, 2013 at 9:41 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> Furthermore, the proposed registration syntax in the PEP is identical
> to the syntax which already exists for ABC registration as a class
> decorator (http://docs.python.org/3/library/abc#abc.ABCMeta.register).

Sorry, I withdraw that observation - it's wrong. ABC registration
obviously doesn't need to provide arguments to the decorator at all,
since the only necessary info is the ABC itself, and that's providing
through the method binding.

Cheers,
Nick.

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


More information about the Python-Dev mailing list