Message392115
| Author | eric.smith |
|---|---|
| Recipients | Epic_Wink, eric.smith, jack1142, kamilturek, rhettinger, ryanhiebert, xtreak |
| Date | 2021-04-27.18:21:29 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1619547689.67.0.818180242301.issue43532@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
> Will this close https://bugs.python.org/issue36077 ? No, not directly, although I'm going to close that issue as "won't fix". But you can specify that the child class requires all params as kw_only. Continuing the example: >>> @dataclass(kw_only=True) ... class Child(Parent): ... y: int ... >>> Child(0, y=1) Child(x=0, y=1) |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-04-27 18:21:29 | eric.smith | set | recipients: + eric.smith, rhettinger, ryanhiebert, xtreak, Epic_Wink, jack1142, kamilturek |
| 2021-04-27 18:21:29 | eric.smith | set | messageid: <1619547689.67.0.818180242301.issue43532@roundup.psfhosted.org> |
| 2021-04-27 18:21:29 | eric.smith | link | issue43532 messages |
| 2021-04-27 18:21:29 | eric.smith | create | |