[issue32505] dataclasses: make field() with no annotation an error

miss-islington report at bugs.python.org
Thu Mar 22 16:59:08 EDT 2018


miss-islington <mariatta.wijaya+miss-islington at gmail.com> added the comment:


New changeset 3b4c6b16c597aa2356f5658dd67da7dcd4434038 by Miss Islington (bot) in branch '3.7':
bpo-32505: dataclasses: raise TypeError if a member variable is of type Field, but doesn't have a type annotation. (GH-6192)
https://github.com/python/cpython/commit/3b4c6b16c597aa2356f5658dd67da7dcd4434038


----------
nosy: +miss-islington

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


More information about the Python-bugs-list mailing list