[Python-ideas] Stub class for Generic to further improve PEP 560

Ivan Levkivskyi levkivskyi at gmail.com
Thu Nov 30 16:35:00 EST 2017


On 30 November 2017 at 22:25, Ilya Kulakov <kulakov.ilya at gmail.com> wrote:

> My point is to have a class with public interface identical to
> typing.Generic, but without all runtime overhead.
> It's based on the assumption that few developers benefit with
> typing.Generic addition during production application execution.
>
> Those who do, can subclass typing.Generic directly


Could you please give some examples for these statements? They still look
to abstract for me.

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


More information about the Python-ideas mailing list