New submission from Eric V. Smith <[email protected]>:
This is an attractive nuisance, especially when coming from attrs. Make it an
error, since it's using field() with no annotation:
@dataclass
class C:
x = field()
----------
assignee: eric.smith
messages: 309586
nosy: eric.smith, gvanrossum, levkivskyi
priority: normal
severity: normal
status: open
title: dataclasses: make field() with no annotation an error
type: behavior
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32505>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com