Guido van Rossum <gu...@python.org> added the comment:

In principle I think this is a good idea.

If this was user code, we would inherit from typing.Generic. I understand you 
wanting to avoid the overhead of that. But will it work correctly at runtime 
with other typing constructors? I guess __annotations__ will not show the 
generic type's parameter. Will anybody care?

Maybe we need to walk through some detailed examples.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38978>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to