On Sat, 31 Jul 2010 13:50:16 +0200 Tarek Ziadé email@example.com wrote:
On Sat, Jul 31, 2010 at 3:31 AM, Nick Coghlan ncoghlan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: ...
To be honest, there are actually some more features I would want to push for in ABCs (specifically, a public API to view an ABC's type registry, as well as a callback API to be notified of registration changes) before seriously proposing an official generic function implementation in the standard library.
funny hazard, I was proposing to PEP 3319 authors about having the _abc_registry attribute somehow exposed.
Rather than exposing the registry object itself (which is an implementation detail), how about exposing lookup operations on this registry?