[Python-ideas] Stub class for Generic to further improve PEP 560
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas