[issue38756] Add generic versions of weakref types to typing module

Ivan Levkivskyi report at bugs.python.org
Sun Nov 10 13:26:16 EST 2019


Ivan Levkivskyi <levkivskyi at gmail.com> added the comment:

We already have https://github.com/python/typing/issues/508 for "smart" `get_type_hints()` that would use LBYL. Also we had a similar discussion about PathLike, and ultimately decided not to make `typing` a place for generic versions of everything.

Finally, in view of PEP 585 some of these things may actually become subscriptable at runtime. So I propose to just close this issue.

----------
resolution:  -> wont fix
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38756>
_______________________________________


More information about the Python-bugs-list mailing list