On 27 maj 2013, at 15:31, Łukasz Langa <luk...@langa.pl> wrote: > This is exactly what I did now. I also exposed ._clear_cache() and the > uncached ._find_impl() if somebody finds it necessary to use it. Both > are left undocumented.
For the record, I moved _find_impl out of the closure for easier testability. I also simplified it a bit as the results are cached anyway. For the most common case where the function argument is of a type that's directly registered, _find_impl isn't even called now. Anyhow, no remaining issues. Somebody call the BDFL. -- 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