[Python-ideas] Json object-level serializer
Antoine Pitrou
solipsis at pitrou.net
Sat Jul 31 14:12:07 CEST 2010
On Sat, 31 Jul 2010 13:50:16 +0200
Tarek Ziadé <ziade.tarek at gmail.com> wrote:
> On Sat, Jul 31, 2010 at 3:31 AM, Nick Coghlan <ncoghlan-Re5JQEeQqe8AvxtiuMwx3w at 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?
Regards
Antoine.
More information about the Python-ideas
mailing list