On Sat, 25 May 2013 22:16:04 +0200 Łukasz Langa <luk...@langa.pl> wrote:
> 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. Let it cook for a week or two. Regards Antoine. _______________________________________________ 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