Jelle Zijlstra <jelle.zijls...@gmail.com> added the comment:

>From a typing perspective this is reasonable. See this thread about type 
>aliases in class scopes: 
>https://mail.python.org/archives/list/typing-...@python.org/thread/CGOO7GPPECGMLFDUDXSSXTRADI4BXYCS/
> 

However, it's a niche use case and we could decide that we don't want to 
further complicate the annotation parsing in dataclasses.py.

----------

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

Reply via email to