[Python-ideas] Json object-level serializer

Tarek Ziadé ziade.tarek at gmail.com
Sat Jul 31 18:17:42 CEST 2010


On Sat, Jul 31, 2010 at 2:12 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> 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?

Sure but how ? global functions ?



More information about the Python-ideas mailing list