[Python-ideas] Improve ABCs _dump_registry() readability

Ivan Levkivskyi levkivskyi at gmail.com
Sun Dec 31 14:09:03 EST 2017


On 31 December 2017 at 20:05, Antoine Pitrou <solipsis at pitrou.net> wrote:

> On Sun, 31 Dec 2017 19:31:06 +0100
> Ivan Levkivskyi <levkivskyi at gmail.com>
> wrote:
>
> > On 31 December 2017 at 19:24, Yahya Abou 'Imran via Python-ideas <
> > python-ideas at python.org> wrote:
> >
> > >
> > > >I guess a PR to fix the registry output would make sense (first file a
> > > bug on bugs.python.org for it).
> > >
> > > Ok, I will!
> > >
> > >
> > Please don't hurry with this. I am going to rewrite ABCMeta in C soon.
> > In fact most of the work is done but I am waiting for implementation of
> PEP
> > 560 to settle (need few more days for this).
> >
> > In the C version the caches/registry will be simpler and will not use
> > WeakSet (instead they will be thin C wrappers around normal sets).
>
> Hmm... Just because you are rewriting the thing in C doesn't mean that
> Yahya shouldn't submit a patch for the Python version (which I assume
> will be staying around anyway).
>

Yes, good point!

--
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171231/232d674d/attachment.html>


More information about the Python-ideas mailing list