[Python-ideas] Improve ABCs _dump_registry() readability

Antoine Pitrou solipsis at pitrou.net
Sun Dec 31 14:05:02 EST 2017

On Sun, 31 Dec 2017 19:31:06 +0100
Ivan Levkivskyi <levkivskyi at gmail.com>

> 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).



More information about the Python-ideas mailing list