Guido van Rossum <[email protected]> added the comment:

Hm, recursive type aliases are an interesting issue. We may be able to do 
better there for 3.10, even if we can't fix it for 3.9 (or at least not for 
3.9.0).

But in the meantime maybe you can come up with a PR that adds a note to the 
typing docs in 3.10 explaining that `list["int"]` will not be resolved to 
`list[int]`, even though it works for `List["int"]`?

----------

_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41370>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to