On 25 maj 2013, at 17:13, Nick Coghlan <ncogh...@gmail.com> wrote:

> So I think I'd prefer flipping this around - you can't provide a
> custom registry mapping, but you *can* get access to a read only view
> of it through a "registry" attribute on the generic function.

You guys convinced me. Both the PEP and the implementation are updated
accordingly. I also introduced the caching as suggested by PJ. 

So, the latest document is live:
http://www.python.org/dev/peps/pep-0443/

The code is here:
http://hg.python.org/features/pep-443/file/tip/Lib/functools.py#l363

The documentation here:
http://hg.python.org/features/pep-443/file/tip/Doc/library/functools.rst#l189

The tests here:
http://hg.python.org/features/pep-443/file/tip/Lib/test/test_functools.py#l855

I say we're ready.

-- 
Best regards,
Łukasz Langa

WWW: http://lukasz.langa.pl/
Twitter: @llanga
IRC: ambv on #python-dev

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to