Le 20 juil. 2017 3:49 AM, "INADA Naoki" <songofaca...@gmail.com> a écrit :
> I'm +1 with your idea in performance point of view.

(...)
But ABC is too heavy to use only for checking abstract methods.
It uses three inefficient WeakSet [1] and it overrides isinstance and
issubclass
with slow Python implementation.


I don't think that we can get ride of abc from the io and importlib. They
are here to stay. I hear your performance analysis.

Why not making abc faster instead of trying to workaround abc for perf
issue?

Someone already wrote WeakrefSet, a PR is waiting for our review!

Victor
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to