New submission from reinhrst <pythonb...@claude.nl>:

Right now dataclasses.InitVar[something] is dataclasses.InitVar. This means 
that any type-information is removed, and it will (for instance) be impossible 
to do (runtime) type info checks on the generated __init__, or find out 
anything about the type of the variable.

----------
messages: 317026
nosy: reinhrst
priority: normal
severity: normal
status: open
title: dataclasses InitVar does not maintain any type info
versions: Python 3.7

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

Reply via email to