Eric V. Smith <e...@trueblade.com> added the comment:

Well the type comes from the annotation, so this makes sense to me. If 
dataclasses were to call get_type_hints() for every field, it would defeat the 
purpose of PEP 563 (at least for dataclasses).

----------

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

Reply via email to